Add missing demon pylon itemblock (#1259)

This commit is contained in:
Nicholas Ignoffo 2018-04-07 13:08:28 -07:00
parent c8b394bf86
commit 6944e5e8d4

View file

@ -6,13 +6,14 @@ import WayofTime.bloodmagic.tile.TileDemonPylon;
import net.minecraft.block.BlockContainer; import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
import net.minecraft.item.ItemBlock;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumBlockRenderType;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
public class BlockDemonPylon extends BlockContainer implements IVariantProvider { public class BlockDemonPylon extends BlockContainer implements IBMBlock, IVariantProvider {
public BlockDemonPylon() { public BlockDemonPylon() {
super(Material.ROCK); super(Material.ROCK);
@ -54,4 +55,9 @@ public class BlockDemonPylon extends BlockContainer implements IVariantProvider
public TileEntity createNewTileEntity(World world, int meta) { public TileEntity createNewTileEntity(World world, int meta) {
return new TileDemonPylon(); return new TileDemonPylon();
} }
@Override
public ItemBlock getItem() {
return new ItemBlock(this);
}
} }