Package forestry.core.network

Examples of forestry.core.network.PacketTileNBT


  public abstract void onBlockTick();

  /* INETWORKEDENTITY */
  @Override
  public Packet getDescriptionPacket() {
    return new PacketTileNBT(PacketIds.TILE_NBT, this).getPacket();
  }
View Full Code Here


    return new PacketTileNBT(PacketIds.TILE_NBT, this).getPacket();
  }

  @Override
  public void sendNetworkUpdate() {
    Proxies.net.sendNetworkPacket(new PacketTileNBT(PacketIds.TILE_NBT, this), xCoord, yCoord, zCoord);
  }
View Full Code Here

    Proxies.net.sendNetworkPacket(new PacketTileNBT(PacketIds.TILE_NBT, this), xCoord, yCoord, zCoord);
  }

  @Override
  public void fromPacket(ForestryPacket packetRaw) {
    PacketTileNBT packet = (PacketTileNBT) packetRaw;
    this.readFromNBT(packet.getTagCompound());
    worldObj.func_147479_m(xCoord, yCoord, zCoord);
  }
View Full Code Here

    if (packetRaw instanceof PacketTileUpdate) {
      super.fromPacket(packetRaw);
      return;
    }

    PacketTileNBT packet = (PacketTileNBT) packetRaw;
    readFromNBT(packet.getTagCompound());
  }
View Full Code Here

    PacketTileNBT packet = (PacketTileNBT) packetRaw;
    readFromNBT(packet.getTagCompound());
  }

  public void sendAll(EntityPlayer player) {
    Proxies.net.sendToPlayer(new PacketTileNBT(PacketIds.TILE_NBT, this), player);
  }
View Full Code Here

    if(packetRaw instanceof PacketTileUpdate) {
      super.fromPacket(packetRaw);
      return;
    }

    PacketTileNBT packet = (PacketTileNBT)packetRaw;
    readFromNBT(packet.getTagCompound());
  }
View Full Code Here

    PacketTileNBT packet = (PacketTileNBT)packetRaw;
    readFromNBT(packet.getTagCompound());
  }

  public void sendBoard(EntityPlayer player) {
    Proxies.net.sendToPlayer(new PacketTileNBT(PacketIds.TILE_NBT, this), player);
  }
View Full Code Here

  }

  /* INETWORKEDENTITY */
  @Override
  public Packet getDescriptionPacket() {
    return new PacketTileNBT(PacketIds.TILE_NBT, this).getPacket();
  }
View Full Code Here

    return new PacketTileNBT(PacketIds.TILE_NBT, this).getPacket();
  }

  @Override
  public void sendNetworkUpdate() {
    Proxies.net.sendNetworkPacket(new PacketTileNBT(PacketIds.TILE_NBT, this), xCoord, yCoord, zCoord);
  }
View Full Code Here

    Proxies.net.sendNetworkPacket(new PacketTileNBT(PacketIds.TILE_NBT, this), xCoord, yCoord, zCoord);
  }

  @Override
  public void fromPacket(ForestryPacket packetRaw) {
    PacketTileNBT packet = (PacketTileNBT) packetRaw;
    this.readFromNBT(packet.getTagCompound());
    worldObj.func_147479_m(xCoord, yCoord, zCoord);
  }
View Full Code Here

TOP

Related Classes of forestry.core.network.PacketTileNBT

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.