Package net.minecraft.network.play.server

Examples of net.minecraft.network.play.server.S35PacketUpdateTileEntity


 
  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound compound = new NBTTagCompound();
    compound.setInteger("crateId", id);
        return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, compound);
  }
View Full Code Here


 
  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound compound = new NBTTagCompound();
    if (color >= 0) compound.setInteger("color", color);
    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, compound);
  }
View Full Code Here

    NBTTagCompound compound = new NBTTagCompound();
    compound.setBoolean("isOpen", isOpen);
    compound.setBoolean("isMirrored", isMirrored);
    compound.setByte("orientation", (byte) orientation.ordinal());
    if (lockAttachment.getItem() != null) compound.setTag("lock", lockAttachment.getItem().writeToNBT(new NBTTagCompound()));
    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, compound);
  }
View Full Code Here

 
  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound compound = new NBTTagCompound();
    compound.setTag("stack", stack.writeToNBT(new NBTTagCompound()));
    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, compound);
  }
View Full Code Here

 
  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound compound = new NBTTagCompound();
    write(compound);
        return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, compound);
  }
View Full Code Here

  @Override
  public Packet getDescriptionPacket() {
    NBTTagCompound nbt = new NBTTagCompound();
    writeToNBT(nbt);

    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, nbt);
  }
View Full Code Here

      AELog.error( t );
    }

    stream.capacity( stream.readableBytes() );
    data.setByteArray( "X", stream.array() );
    return new S35PacketUpdateTileEntity( xCoord, yCoord, zCoord, 64, data );
  }
View Full Code Here

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

    @Override
    public Packet getDescriptionPacket ()
    {
        NBTTagCompound tag = new NBTTagCompound();
        writeCustomNBT(tag);
        return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, tag);
    }
View Full Code Here

    @Override
    public Packet getDescriptionPacket ()
    {
        NBTTagCompound tag = new NBTTagCompound();
        writeToNBT(tag);
        return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, tag);
    }
View Full Code Here

TOP

Related Classes of net.minecraft.network.play.server.S35PacketUpdateTileEntity

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.