From ca9de00430b663dd7e0894d6adc62948e91c2931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Tue, 14 Jun 2016 08:25:42 +0200 Subject: [PATCH] Table top is now solid --- src/java/mmm/deco/DBlockTable.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/java/mmm/deco/DBlockTable.java b/src/java/mmm/deco/DBlockTable.java index a8ac911..2e3c2cb 100644 --- a/src/java/mmm/deco/DBlockTable.java +++ b/src/java/mmm/deco/DBlockTable.java @@ -22,6 +22,7 @@ import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.BlockRenderLayer; +import net.minecraft.util.EnumFacing; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.math.AxisAlignedBB; @@ -295,4 +296,11 @@ public class DBlockTable { return BlockRenderLayer.CUTOUT; } + + + @Override + public boolean isSideSolid( IBlockState base_state , IBlockAccess world , BlockPos pos , EnumFacing side ) + { + return side == EnumFacing.UP; + } }