Ambient sound & fixes

This commit is contained in:
paulevsGitch 2020-10-28 03:51:39 +03:00
parent a3fada3068
commit a7dcba05a9
7 changed files with 15 additions and 9 deletions

View file

@ -92,10 +92,10 @@ public class BlockVine extends BlockBaseNotFull implements IRenderTypeable, Fert
return Blocks.AIR.getDefaultState();
}
else {
if (world.getBlockState(pos.up()).getBlock() != this)
return state.with(SHAPE, TripleShape.TOP);
else if (world.getBlockState(pos.down()).getBlock() != this)
if (world.getBlockState(pos.down()).getBlock() != this)
return state.with(SHAPE, TripleShape.BOTTOM);
else if (world.getBlockState(pos.up()).getBlock() != this)
return state.with(SHAPE, TripleShape.TOP);
return state.with(SHAPE, TripleShape.MIDDLE);
}
}