package ru.nord.common.blocks.bak; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.util.EnumFacing; import net.minecraft.world.World; import ru.nord_core.common.blocks.abstracts.bak.BlockAbstractEnergyCable; import ru.nord.common.tiles.TileEnergyCable; public class BlockEnergoCable extends BlockAbstractEnergyCable { public BlockEnergoCable() { setHardness(2.0F); setResistance(5.0F); } @Override public TileEntity createNewTileEntity(World world, int meta) { return new TileEnergyCable(); } public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) { return super.onBlockPlaced(worldIn,pos,facing,hitX,hitY,hitZ,meta,placer); } @Override public void doItemDrop(World world, BlockPos pos, TileEntity tile) { } }