yarn/mappings/net/minecraft/util/registry/SimpleRegistry.mapping

32 lines
1.6 KiB
Plaintext

CLASS net/minecraft/class_2370 net/minecraft/util/registry/SimpleRegistry
FIELD field_11107 entriesById Lcom/google/common/collect/BiMap;
FIELD field_11108 randomEntries [Ljava/lang/Object;
FIELD field_11109 nextId I
FIELD field_11110 indexedEntries Lnet/minecraft/class_3513;
FIELD field_11111 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_25067 entriesByKey Lcom/google/common/collect/BiMap;
FIELD field_25489 loadedKeys Ljava/util/Set;
METHOD method_10240 getRandom (Ljava/util/Random;)Ljava/lang/Object;
METHOD method_29721 createCodec (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
ARG 0 registryRef
ARG 1 lifecycle
ARG 2 elementCodec
METHOD method_29722 getEntries ()Ljava/util/Set;
METHOD method_29723 isLoaded (Lnet/minecraft/class_5321;)Z
COMMENT Returns whether an element corresponding to the key is loaded externally,
COMMENT such as from a decoder.
COMMENT
COMMENT <p>When an element is loaded externally, it will be encoded when the
COMMENT registry is encoded.</p>
ARG 1 key
METHOD method_29724 createEmptyCodec (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
ARG 0 registryRef
ARG 1 lifecycle
ARG 2 elementCodec
METHOD method_29725 markLoaded (Lnet/minecraft/class_5321;)V
COMMENT Marks an element corresponding to the key as loaded from a decoder.
COMMENT
COMMENT <p>This will make the element being written by the encoder when the
COMMENT registry is encoded.</p>
ARG 1 key