Class MessageSignatureStorage

java.lang.Object
net.minecraft.network.message.MessageSignatureStorage

public class MessageSignatureStorage extends Object
Collects message signatures on the server to make a message chain.
Mappings:
Namespace Name
official tx
intermediary net/minecraft/class_7561
named net/minecraft/network/message/MessageSignatureStorage
  • Field Details

    • MISSING

      public static final int MISSING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a:I
      intermediary field_40845 Lnet/minecraft/class_7561;field_40845:I
      named MISSING Lnet/minecraft/network/message/MessageSignatureStorage;MISSING:I
    • MAX_ENTRIES

      private static final int MAX_ENTRIES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ltx;b:I
      intermediary field_40686 Lnet/minecraft/class_7561;field_40686:I
      named MAX_ENTRIES Lnet/minecraft/network/message/MessageSignatureStorage;MAX_ENTRIES:I
    • signatures

      private final MessageSignatureData[] signatures
      Mappings:
      Namespace Name Mixin selector
      official c Ltx;c:[Ltw;
      intermediary field_40687 Lnet/minecraft/class_7561;field_40687:[Lnet/minecraft/class_7469;
      named signatures Lnet/minecraft/network/message/MessageSignatureStorage;signatures:[Lnet/minecraft/network/message/MessageSignatureData;
  • Constructor Details

    • MessageSignatureStorage

      public MessageSignatureStorage(int maxEntries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltx;<init>(I)V
      intermediary <init> Lnet/minecraft/class_7561;<init>(I)V
      named <init> Lnet/minecraft/network/message/MessageSignatureStorage;<init>(I)V
  • Method Details

    • create

      public static MessageSignatureStorage create()
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a()Ltx;
      intermediary method_46281 Lnet/minecraft/class_7561;method_46281()Lnet/minecraft/class_7561;
      named create Lnet/minecraft/network/message/MessageSignatureStorage;create()Lnet/minecraft/network/message/MessageSignatureStorage;
    • indexOf

      public int indexOf(MessageSignatureData signature)
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a(Ltw;)I
      intermediary method_46607 Lnet/minecraft/class_7561;method_46607(Lnet/minecraft/class_7469;)I
      named indexOf Lnet/minecraft/network/message/MessageSignatureStorage;indexOf(Lnet/minecraft/network/message/MessageSignatureData;)I
    • get

      @Nullable public @Nullable MessageSignatureData get(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a(I)Ltw;
      intermediary method_46606 Lnet/minecraft/class_7561;method_46606(I)Lnet/minecraft/class_7469;
      named get Lnet/minecraft/network/message/MessageSignatureStorage;get(I)Lnet/minecraft/network/message/MessageSignatureData;
    • add

      public void add(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a(Lua;)V
      intermediary method_46286 Lnet/minecraft/class_7561;method_46286(Lnet/minecraft/class_7471;)V
      named add Lnet/minecraft/network/message/MessageSignatureStorage;add(Lnet/minecraft/network/message/SignedMessage;)V
    • addFrom

      @VisibleForTesting void addFrom(List<MessageSignatureData> signatures)
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a(Ljava/util/List;)V
      intermediary method_46284 Lnet/minecraft/class_7561;method_46284(Ljava/util/List;)V
      named addFrom Lnet/minecraft/network/message/MessageSignatureStorage;addFrom(Ljava/util/List;)V
    • addFrom

      private void addFrom(ArrayDeque<MessageSignatureData> deque)
      Mappings:
      Namespace Name Mixin selector
      official a Ltx;a(Ljava/util/ArrayDeque;)V
      intermediary method_46283 Lnet/minecraft/class_7561;method_46283(Ljava/util/ArrayDeque;)V
      named addFrom Lnet/minecraft/network/message/MessageSignatureStorage;addFrom(Ljava/util/ArrayDeque;)V