2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2370 net/minecraft/util/registry/SimpleRegistry
|
2020-05-20 16:04:40 -04:00
|
|
|
FIELD field_11107 entriesById Lcom/google/common/collect/BiMap;
|
2019-06-28 17:55:20 -04:00
|
|
|
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;
|
2020-05-20 16:04:40 -04:00
|
|
|
FIELD field_25067 entriesByKey Lcom/google/common/collect/BiMap;
|
2020-06-05 15:11:11 -04:00
|
|
|
FIELD field_25489 loadedKeys Ljava/util/Set;
|
2020-03-11 13:25:56 -04:00
|
|
|
METHOD method_10240 getRandom (Ljava/util/Random;)Ljava/lang/Object;
|
2020-06-05 15:11:11 -04:00
|
|
|
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
|