Table top is now solid
This commit is contained in:
parent
830693a060
commit
ca9de00430
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue