package slimeknights.tconstruct.smeltery.block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockRenderLayer;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import javax.annotation.Nonnull;
import slimeknights.tconstruct.library.TinkerRegistry;
import slimeknights.tconstruct.smeltery.tileentity.TileTinkerTank;
public class BlockTinkerTankController extends BlockMultiblockController {
public BlockTinkerTankController() {
super(Material.ROCK);
this.setCreativeTab(TinkerRegistry.tabSmeltery);
this.setHardness(3F);
this.setResistance(20F);
this.setSoundType(SoundType.METAL);
}
@Nonnull
@Override
public TileEntity createNewTileEntity(@Nonnull World worldIn, int meta) {
return new TileTinkerTank();
}
@Nonnull
@Override
@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer() {
return BlockRenderLayer.CUTOUT;
}
}