Examples of IBee


Examples of forestry.api.apiculture.IBee

  public void updateClientSide() {

    // / Multiplayer FX
    if (PluginApiculture.beeInterface.isMated(inventory.getStackInSlot(SLOT_QUEEN)))
      if (getErrorState() == EnumErrorCode.OK && worldObj.getTotalWorldTime() % 2 % 2 == 0) {
        IBee displayQueen = PluginApiculture.beeInterface.getMember(inventory.getStackInSlot(SLOT_QUEEN));
        displayQueen.doFX(logic.getEffectData(), this);
      }
    return;

  }
View Full Code Here

Examples of forestry.api.apiculture.IBee

  @Override
  public void updateServerSide() {

    logic.update();

    IBee queen = logic.getQueen();
    if (queen == null)
      return;

    // Add swarm effects
    if (worldObj.getTotalWorldTime() % 200 * 10 == 0)
View Full Code Here

Examples of forestry.api.apiculture.IBee

  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY) {
    super.drawGuiContainerBackgroundLayer(var1, mouseX, mouseY);

    int page = 0;
    IBee bee = null;
    EnumBeeType beeType = EnumBeeType.DRONE;
    for (int k = 1; k < BeealyzerInventory.SLOT_ANALYZE_5 + 1; k++) {
      if (k == BeealyzerInventory.SLOT_ENERGY)
        continue;

      if (inventory.getStackInSlot(k) == null)
        continue;
      bee = PluginApiculture.beeInterface.getMember(inventory.getStackInSlot(k));
      beeType = PluginApiculture.beeInterface.getType(inventory.getStackInSlot(k));
      if (bee == null || !bee.isAnalyzed())
        continue;

      page = k;
      break;
    }
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.