30 lines
872 B
Java
30 lines
872 B
Java
|
package biomesoplenty.blocks;
|
||
|
|
||
|
import net.minecraft.block.Block;
|
||
|
import net.minecraft.block.material.Material;
|
||
|
import net.minecraft.client.renderer.texture.IconRegister;
|
||
|
import net.minecraft.entity.Entity;
|
||
|
import net.minecraft.entity.player.EntityPlayer;
|
||
|
import net.minecraft.entity.player.InventoryPlayer;
|
||
|
import net.minecraft.util.AxisAlignedBB;
|
||
|
import net.minecraft.world.IBlockAccess;
|
||
|
import net.minecraft.world.World;
|
||
|
import biomesoplenty.BiomesOPlenty;
|
||
|
import biomesoplenty.api.Items;
|
||
|
import cpw.mods.fml.relauncher.Side;
|
||
|
import cpw.mods.fml.relauncher.SideOnly;
|
||
|
|
||
|
public class BlockHive extends Block
|
||
|
{
|
||
|
public BlockHive(int par1)
|
||
|
{
|
||
|
super(par1, Material.wood);
|
||
|
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void registerIcons(IconRegister par1IconRegister)
|
||
|
{
|
||
|
blockIcon = par1IconRegister.registerIcon("biomesoplenty:hive");
|
||
|
}
|
||
|
}
|