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
named net/minecraft/network/message/MessageSignatureStorage
intermediary net/minecraft/class_7561
official xm
  • Field Details

    • MISSING

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

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

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

    • MessageSignatureStorage

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

    • create

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

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

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

      public void add(MessageBody body, @Nullable @Nullable MessageSignatureData signature)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/network/message/MessageSignatureStorage;add(Lnet/minecraft/network/message/MessageBody;Lnet/minecraft/network/message/MessageSignatureData;)V
      intermediary method_46286 Lnet/minecraft/class_7561;method_46286(Lnet/minecraft/class_7608;Lnet/minecraft/class_7469;)V
      official a Lxm;a(Lxs;Lxl;)V
    • addFrom

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

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