Class ServerboundChatCommandSignedPacket

java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatCommandSignedPacket
All Implemented Interfaces:
Packet, MinecraftPacket

public class ServerboundChatCommandSignedPacket extends Object implements MinecraftPacket
  • Constructor Details

    • ServerboundChatCommandSignedPacket

      public ServerboundChatCommandSignedPacket(io.netty.buffer.ByteBuf in)
    • ServerboundChatCommandSignedPacket

      public ServerboundChatCommandSignedPacket(String command, long timeStamp, long salt, List<ArgumentSignature> signatures, int offset, BitSet acknowledgedMessages)
  • Method Details

    • serialize

      public void serialize(io.netty.buffer.ByteBuf out)
      Specified by:
      serialize in interface MinecraftPacket
    • getCommand

      public String getCommand()
    • getTimeStamp

      public long getTimeStamp()
    • getSalt

      public long getSalt()
    • getSignatures

      public List<ArgumentSignature> getSignatures()
    • getOffset

      public int getOffset()
    • getAcknowledgedMessages

      public BitSet getAcknowledgedMessages()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object
    • withCommand

      public @NonNull ServerboundChatCommandSignedPacket withCommand(String command)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTimeStamp

      public @NonNull ServerboundChatCommandSignedPacket withTimeStamp(long timeStamp)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSalt

      public @NonNull ServerboundChatCommandSignedPacket withSalt(long salt)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSignatures

      public @NonNull ServerboundChatCommandSignedPacket withSignatures(List<ArgumentSignature> signatures)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withOffset

      public @NonNull ServerboundChatCommandSignedPacket withOffset(int offset)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withAcknowledgedMessages

      public @NonNull ServerboundChatCommandSignedPacket withAcknowledgedMessages(BitSet acknowledgedMessages)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).