Fixed various rendering stuff - transient doors and limbo looks.
This commit is contained in:
parent
c2f3c50cb2
commit
8f43eac20b
7 changed files with 68 additions and 8 deletions
|
@ -48,6 +48,6 @@ public class BlockDimDoorTransient extends BlockDimDoorBase {
|
|||
|
||||
@Override
|
||||
public boolean isCollidable() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ public class BlockFabric extends Block {
|
|||
@Override
|
||||
public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { //if this creates more problems, because everything ticks, we should probably move this to its own class again
|
||||
//Make sure this block is unraveled fabric in Limbo
|
||||
if (state.getValue(TYPE) == EnumType.UNRAVELED && worldIn.provider instanceof WorldProviderLimbo) {
|
||||
if (state.getValue(TYPE) == EnumType.ANCIENT && worldIn.provider instanceof WorldProviderLimbo) {
|
||||
LimboDecay.applySpreadDecay(worldIn, pos);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -308,7 +308,7 @@ public class LimboGenerator implements IChunkGenerator {
|
|||
ModBlocks.FABRIC.getDefaultState().withProperty(BlockFabric.TYPE, BlockFabric.EnumType.UNRAVELED));
|
||||
} else if(yCoord < 6) {
|
||||
primer.setBlockState(xCoord, yCoord, zCoord,
|
||||
ModBlocks.FABRIC.getDefaultState().withProperty(BlockFabric.TYPE, BlockFabric.EnumType.ETERNAL));
|
||||
ModBlocks.FABRIC.getDefaultState().withProperty(BlockFabric.TYPE, BlockFabric.EnumType.ANCIENT));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,68 @@
|
|||
{
|
||||
"variants": {
|
||||
"normal": {"model": "dimdoors:no_texture"}
|
||||
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
|
||||
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "builtin/missing"
|
||||
"parent": "block/block"
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 527 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation": { "frametime": 10 }
|
||||
}
|
Loading…
Reference in a new issue