Table top is now solid

This commit is contained in:
Emmanuel BENOîT 2016-06-14 08:25:42 +02:00
parent 830693a060
commit ca9de00430

View file

@ -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;
}
}