Package forestry.core.network

Examples of forestry.core.network.PacketInventoryStack


  @Override
  public void onQueenChange(ItemStack queenStack) {
    if (!Proxies.common.isSimulating(worldObj))
      return;

    Proxies.net.sendNetworkPacket(new PacketInventoryStack(PacketIds.IINVENTORY_STACK, xCoord, yCoord, zCoord, SLOT_QUEEN, queenStack), xCoord, yCoord,
        zCoord);

    for (IBeeListener eventHandler : eventHandlers) {
      eventHandler.onQueenChange(queenStack);
    }
View Full Code Here


  @Override
  public void onQueenChange(ItemStack queenStack) {
    if (!Proxies.common.isSimulating(worldObj))
      return;

    Proxies.net.sendNetworkPacket(new PacketInventoryStack(PacketIds.IINVENTORY_STACK, xCoord, yCoord, zCoord, SLOT_QUEEN, queenStack), xCoord, yCoord,
        zCoord);
    Proxies.net.sendNetworkPacket(new PacketTileUpdate(this), xCoord, yCoord, zCoord);
  }
View Full Code Here

TOP

Related Classes of forestry.core.network.PacketInventoryStack

Copyright © 2018 www.massapicom. 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.