Package forestry.apiculture.gadgets

Examples of forestry.apiculture.gadgets.TileBeehouse.initialize()


      ForestryBlock.apiculture.block().onBlockAdded(world, xCoord, yCoord, zCoord);

      TileEntity tile = world.getTileEntity(xCoord, yCoord, zCoord);
      if (tile instanceof TileBeehouse) {
        TileBeehouse apiary = ((TileBeehouse) tile);
        apiary.initialize();
        apiary.setSlotContents(TileBeehouse.SLOT_QUEEN,
            PluginApiculture.beeInterface.getMemberStack(getVillageBee(world, xCoord, yCoord, zCoord), EnumBeeType.PRINCESS.ordinal()));
        apiary.setSlotContents(TileBeehouse.SLOT_DRONE,
            PluginApiculture.beeInterface.getMemberStack(getVillageBee(world, xCoord, yCoord, zCoord), EnumBeeType.DRONE.ordinal()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.