Examples of PacketTileUpdate


Examples of buildcraft.core.network.PacketTileUpdate

    return updatePacket.toPayload(this);
  }

  @Override
  public BuildCraftPacket getUpdatePacket() {
    return new PacketTileUpdate(this);
  }
View Full Code Here

Examples of forestry.core.network.PacketTileUpdate

  }

  // / SMP
  @Override
  public void sendNetworkUpdate() {
    PacketTileUpdate packet = new PacketTileUpdate(this);
    Proxies.net.sendNetworkPacket(packet, xCoord, yCoord, zCoord);
  }
View Full Code Here

Examples of forestry.core.network.PacketTileUpdate

    Proxies.net.sendNetworkPacket(packet, xCoord, yCoord, zCoord);
  }

  @Override
  public Packet getDescriptionPacket() {
    PacketTileUpdate packet = new PacketTileUpdate(this);
    return packet.getPacket();
  }
View Full Code Here

Examples of forestry.core.network.PacketTileUpdate

  public abstract void fromPacketPayload(PacketPayload payload);

  @Override
  public void fromPacket(ForestryPacket packetRaw) {
    PacketTileUpdate packet = (PacketTileUpdate) packetRaw;
    if (orientation != packet.getOrientation()) {
      orientation = packet.getOrientation();
      worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
    }
    errorState = packet.getErrorState();
    owner = packet.getOwner();
    access = packet.getAccess();
    fromPacketPayload(packet.payload);
  }
View Full Code Here

Examples of forestry.core.network.PacketTileUpdate

    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
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.