Package net.minecraft.network.packet

Examples of net.minecraft.network.packet.Packet132TileEntityData


  @Override
  public Packet getDescriptionPacket()
  {
    NBTTagCompound nbtTag = getColorDataForPacket();
    this.writeToNBT(nbtTag);
    return new Packet132TileEntityData(this.xCoord, this.yCoord, this.zCoord, 1, nbtTag);
  }
View Full Code Here


    this.writeToNBT(nbtTag);

    nbtTag.setLong("currentAmount", currentAmount);
    nbtTag.setLong("filterAmount", filterAmount);

    return new Packet132TileEntityData(this.xCoord, this.yCoord, this.zCoord, 1, nbtTag);
  }
View Full Code Here

  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound nbt = new NBTTagCompound();
    writeToNBT( nbt );
    return new Packet132TileEntityData(xCoord, yCoord, zCoord, 0, nbt);
  }
View Full Code Here

  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound nbt = new NBTTagCompound();
    writeToNBT( nbt );
    return new Packet132TileEntityData( xCoord, yCoord, zCoord, 0, nbt );
  }
View Full Code Here

  @Override
  public Packet getDescriptionPacket()
  {
    NBTTagCompound data = new NBTTagCompound();
    data.setIntArray("upgrades", _upgradeLevel);
    Packet132TileEntityData packet = new Packet132TileEntityData(xCoord, yCoord, zCoord, 0, data);
    return packet;
  }
View Full Code Here

  {
    NBTTagCompound data = new NBTTagCompound();
    data.setInteger("facing", getDirectionFacing().ordinal());
    data.setInteger("subnet", _currentSubnet);
    data.setInteger("current", _lastValues[_currentSubnet]);
    Packet132TileEntityData packet = new Packet132TileEntityData(xCoord, yCoord, zCoord, 0, data);
    return packet;
  }
View Full Code Here

TOP

Related Classes of net.minecraft.network.packet.Packet132TileEntityData

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.