package com.miningmark48.pearcelmod.block; import com.miningmark48.pearcelmod.tileentity.TileEntityPedestal; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.world.World; public class BlockPedestal extends BlockContainer{ public BlockPedestal(){ super(Material.WOOD); setHardness(1.0F); setResistance(2.0F); } public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Override public boolean isFullCube(IBlockState state){ return false; } @Override public boolean isOpaqueCube(IBlockState state){ return false; } @Override public BlockRenderLayer getBlockLayer(){ return BlockRenderLayer.CUTOUT; } @Override public TileEntity createNewTileEntity(World worldIn, int meta) { return new TileEntityPedestal(); } }