类 SimpleRegistry<T>
- java.lang.Object
-
- net.minecraft.util.registry.Registry<T>
-
- net.minecraft.util.registry.MutableRegistry<T>
-
- net.minecraft.util.registry.SimpleRegistry<T>
-
- 所有已实现的接口:
com.mojang.serialization.Codec<T>,com.mojang.serialization.Decoder<T>,com.mojang.serialization.Encoder<T>,com.mojang.serialization.Keyable,Iterable<T>,IndexedIterable<T>
- 直接已知子类:
DefaultedRegistry
public class SimpleRegistry<T> extends MutableRegistry<T>
- Mappings:
Namespace Name official gmintermediary net/minecraft/class_2370named net/minecraft/util/registry/SimpleRegistry
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSimpleRegistry.RegistryManagerEntry<T>-
从接口继承的嵌套类/接口 com.mojang.serialization.Codec
com.mojang.serialization.Codec.ResultFunction<A extends Object>
-
-
字段概要
字段 修饰符和类型 字段 说明 private Map<T,com.mojang.serialization.Lifecycle>entryToLifecycleprivate Object2IntMap<T>entryToRawIdprivate BiMap<Identifier,T>idToEntryprivate BiMap<RegistryKey<T>,T>keyToEntryprivate com.mojang.serialization.Lifecyclelifecycleprotected static LoggerLOGGERprivate intnextIdprotected Object[]randomEntriesprivate ObjectList<T>rawIdToEntry-
从类继承的字段 net.minecraft.util.registry.Registry
ACTIVITY, ACTIVITY_KEY, ATTRIBUTE, ATTRIBUTE_KEY, BIOME_KEY, BIOME_SOURCE, BIOME_SOURCE_KEY, BLOCK, BLOCK_ENTITY_TYPE, BLOCK_ENTITY_TYPE_KEY, BLOCK_KEY, BLOCK_PLACER_TYPE, BLOCK_PLACER_TYPE_KEY, BLOCK_STATE_PROVIDER_TYPE, BLOCK_STATE_PROVIDER_TYPE_KEY, CARVER, CARVER_KEY, CHUNK_GENERATOR, CHUNK_GENERATOR_KEY, CHUNK_GENERATOR_SETTINGS_KEY, CHUNK_STATUS, CHUNK_STATUS_KEY, CONFIGURED_CARVER_KEY, CONFIGURED_FEATURE_KEY, CONFIGURED_STRUCTURE_FEATURE_KEY, CONFIGURED_SURFACE_BUILDER_KEY, CUSTOM_STAT, CUSTOM_STAT_KEY, DECORATOR, DECORATOR_KEY, DIMENSION_KEY, DIMENSION_TYPE_KEY, ENCHANTMENT, ENCHANTMENT_KEY, ENTITY_TYPE, ENTITY_TYPE_KEY, FEATURE, FEATURE_KEY, FEATURE_SIZE_TYPE, FEATURE_SIZE_TYPE_KEY, FLOAT_PROVIDER_TYPE, FLOAT_PROVIDER_TYPE_KEY, FLUID, FLUID_KEY, FOLIAGE_PLACER_TYPE, FOLIAGE_PLACER_TYPE_KEY, GAME_EVENT, GAME_EVENT_KEY, HEIGHT_PROVIDER_TYPE, HEIGHT_PROVIDER_TYPE_KEY, INT_PROVIDER_TYPE, INT_PROVIDER_TYPE_KEY, ITEM, ITEM_KEY, LOOT_CONDITION_TYPE, LOOT_CONDITION_TYPE_KEY, LOOT_FUNCTION_TYPE, LOOT_FUNCTION_TYPE_KEY, LOOT_NBT_PROVIDER_TYPE, LOOT_NBT_PROVIDER_TYPE_KEY, LOOT_NUMBER_PROVIDER_TYPE, LOOT_NUMBER_PROVIDER_TYPE_KEY, LOOT_POOL_ENTRY_TYPE, LOOT_POOL_ENTRY_TYPE_KEY, LOOT_SCORE_PROVIDER_TYPE, LOOT_SCORE_PROVIDER_TYPE_KEY, MEMORY_MODULE_TYPE, MEMORY_MODULE_TYPE_KEY, MENU_KEY, MOB_EFFECT_KEY, MOTIVE_KEY, PAINTING_MOTIVE, PARTICLE_TYPE, PARTICLE_TYPE_KEY, POINT_OF_INTEREST_TYPE, POINT_OF_INTEREST_TYPE_KEY, POS_RULE_TEST, POS_RULE_TEST_KEY, POSITION_SOURCE_TYPE, POSITION_SOURCE_TYPE_KEY, POTION, POTION_KEY, RECIPE_SERIALIZER, RECIPE_SERIALIZER_KEY, RECIPE_TYPE, RECIPE_TYPE_KEY, REGISTRIES, ROOT, ROOT_KEY, RULE_TEST, RULE_TEST_KEY, SCHEDULE, SCHEDULE_KEY, SCREEN_HANDLER, SENSOR_TYPE, SENSOR_TYPE_KEY, SOUND_EVENT, SOUND_EVENT_KEY, STAT_TYPE, STAT_TYPE_KEY, STATUS_EFFECT, STRUCTURE_FEATURE, STRUCTURE_FEATURE_KEY, STRUCTURE_PIECE, STRUCTURE_PIECE_KEY, STRUCTURE_POOL_ELEMENT, STRUCTURE_POOL_ELEMENT_KEY, STRUCTURE_POOL_KEY, STRUCTURE_PROCESSOR, STRUCTURE_PROCESSOR_KEY, STRUCTURE_PROCESSOR_LIST_KEY, SURFACE_BUILD_KEY, SURFACE_BUILDER, TREE_DECORATOR_TYPE, TREE_DECORATOR_TYPE_KEY, TRUNK_PLACER_TYPE, TRUNK_PLACER_TYPE_KEY, VILLAGER_PROFESSION, VILLAGER_PROFESSION_KEY, VILLAGER_TYPE, VILLAGER_TYPE_KEY, WORLD_KEY
-
-
构造器概要
构造器 构造器 说明 SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 <V extends T>
Vadd(RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)booleancontains(RegistryKey<T> key)booleancontainsId(Identifier id)static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>createCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>createRegistryManagerCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)static <T> com.mojang.serialization.MapCodec<SimpleRegistry.RegistryManagerEntry<T>>createRegistryManagerEntryCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.MapCodec<T> entryCodec)Tget(int index)Tget(@Nullable Identifier id)Tget(@Nullable RegistryKey<T> key)Set<Map.Entry<RegistryKey<T>,T>>getEntries()com.mojang.serialization.LifecyclegetEntryLifecycle(T entry)Gets the lifecycle of a registry entry.@Nullable IdentifiergetId(T entry)Set<Identifier>getIds()Optional<RegistryKey<T>>getKey(T entry)com.mojang.serialization.LifecyclegetLifecycle()TgetRandom(Random random)intgetRawId(T entry)Iterator<T>iterator()booleanmethod_35863()<V extends T>
Vreplace(OptionalInt rawId, RegistryKey<T> key, V newEntry, com.mojang.serialization.Lifecycle lifecycle)If the given key is already present in the registry, replaces the entry associated with the given key with the new entry.<V extends T>
Vset(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)private <V extends T>
Vset(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle, boolean checkDuplicateKeys)-
从类继承的方法 net.minecraft.util.registry.Registry
decode, encode, getKey, getOrEmpty, getOrEmpty, getOrThrow, keys, register, register, register, stream, toString, validate
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 com.mojang.serialization.Codec
comapFlatMap, deprecated, dispatch, dispatch, dispatchMap, dispatchMap, dispatchStable, fieldOf, flatComapMap, flatXmap, listOf, mapResult, optionalFieldOf, optionalFieldOf, optionalFieldOf, optionalFieldOf, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, partialDispatch, promotePartial, stable, withLifecycle, xmap
-
从接口继承的方法 com.mojang.serialization.Decoder
boxed, decode, flatMap, map, parse, parse, simple, terminal
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
字段详细资料
-
LOGGER
protected static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLgm;a:Lorg/apache/logging/log4j/Logger;intermediary field_11111Lnet/minecraft/class_2370;field_11111:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/util/registry/SimpleRegistry;LOGGER:Lorg/apache/logging/log4j/Logger;
-
rawIdToEntry
private final ObjectList<T> rawIdToEntry
- Mappings:
Namespace Name Mixin selector official bvLgm;bv:Lit/unimi/dsi/fastutil/objects/ObjectList;intermediary field_26682Lnet/minecraft/class_2370;field_26682:Lit/unimi/dsi/fastutil/objects/ObjectList;named rawIdToEntryLnet/minecraft/util/registry/SimpleRegistry;rawIdToEntry:Lit/unimi/dsi/fastutil/objects/ObjectList;
-
entryToRawId
private final Object2IntMap<T> entryToRawId
- Mappings:
Namespace Name Mixin selector official bwLgm;bw:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_26683Lnet/minecraft/class_2370;field_26683:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named entryToRawIdLnet/minecraft/util/registry/SimpleRegistry;entryToRawId:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
idToEntry
private final BiMap<Identifier,T> idToEntry
- Mappings:
Namespace Name Mixin selector official bxLgm;bx:Lcom/google/common/collect/BiMap;intermediary field_11107Lnet/minecraft/class_2370;field_11107:Lcom/google/common/collect/BiMap;named idToEntryLnet/minecraft/util/registry/SimpleRegistry;idToEntry:Lcom/google/common/collect/BiMap;
-
keyToEntry
private final BiMap<RegistryKey<T>,T> keyToEntry
- Mappings:
Namespace Name Mixin selector official byLgm;by:Lcom/google/common/collect/BiMap;intermediary field_25067Lnet/minecraft/class_2370;field_25067:Lcom/google/common/collect/BiMap;named keyToEntryLnet/minecraft/util/registry/SimpleRegistry;keyToEntry:Lcom/google/common/collect/BiMap;
-
entryToLifecycle
private final Map<T,com.mojang.serialization.Lifecycle> entryToLifecycle
- Mappings:
Namespace Name Mixin selector official bzLgm;bz:Ljava/util/Map;intermediary field_26731Lnet/minecraft/class_2370;field_26731:Ljava/util/Map;named entryToLifecycleLnet/minecraft/util/registry/SimpleRegistry;entryToLifecycle:Ljava/util/Map;
-
lifecycle
private com.mojang.serialization.Lifecycle lifecycle
- Mappings:
Namespace Name Mixin selector official bALgm;bA:Lcom/mojang/serialization/Lifecycle;intermediary field_26732Lnet/minecraft/class_2370;field_26732:Lcom/mojang/serialization/Lifecycle;named lifecycleLnet/minecraft/util/registry/SimpleRegistry;lifecycle:Lcom/mojang/serialization/Lifecycle;
-
randomEntries
protected Object[] randomEntries
- Mappings:
Namespace Name Mixin selector official bLgm;b:[Ljava/lang/Object;intermediary field_11108Lnet/minecraft/class_2370;field_11108:[Ljava/lang/Object;named randomEntriesLnet/minecraft/util/registry/SimpleRegistry;randomEntries:[Ljava/lang/Object;
-
nextId
private int nextId
- Mappings:
Namespace Name Mixin selector official bBLgm;bB:Iintermediary field_11109Lnet/minecraft/class_2370;field_11109:Inamed nextIdLnet/minecraft/util/registry/SimpleRegistry;nextId:I
-
-
构造器详细资料
-
SimpleRegistry
public SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
- Mappings:
Namespace Name Mixin selector official <init>Lgr;<init>(Lwo;Lcom/mojang/serialization/Lifecycle;)Vintermediary <init>Lnet/minecraft/class_2378;<init>(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;)Vnamed <init>Lnet/minecraft/util/registry/Registry;<init>(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;)V
-
-
方法详细资料
-
createRegistryManagerEntryCodec
public static <T> com.mojang.serialization.MapCodec<SimpleRegistry.RegistryManagerEntry<T>> createRegistryManagerEntryCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.MapCodec<T> entryCodec)
- Mappings:
Namespace Name Mixin selector official aLgm;a(Lwo;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;intermediary method_30929Lnet/minecraft/class_2370;method_30929(Lnet/minecraft/class_5321;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;named createRegistryManagerEntryCodecLnet/minecraft/util/registry/SimpleRegistry;createRegistryManagerEntryCodec(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;
-
set
public <V extends T> V set(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)
- 指定者:
set在类中MutableRegistry<T>- Mappings:
Namespace Name Mixin selector official aLgx;a(ILwo;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;intermediary method_10273Lnet/minecraft/class_2385;method_10273(ILnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;named setLnet/minecraft/util/registry/MutableRegistry;set(ILnet/minecraft/util/registry/RegistryKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
-
set
private <V extends T> V set(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle, boolean checkDuplicateKeys)
- Mappings:
Namespace Name Mixin selector official aLgm;a(ILwo;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;Z)Ljava/lang/Object;intermediary method_31051Lnet/minecraft/class_2370;method_31051(ILnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;Z)Ljava/lang/Object;named setLnet/minecraft/util/registry/SimpleRegistry;set(ILnet/minecraft/util/registry/RegistryKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;Z)Ljava/lang/Object;
-
add
public <V extends T> V add(RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)
- 指定者:
add在类中MutableRegistry<T>- Mappings:
Namespace Name Mixin selector official aLgx;a(Lwo;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;intermediary method_10272Lnet/minecraft/class_2385;method_10272(Lnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;named addLnet/minecraft/util/registry/MutableRegistry;add(Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
-
replace
public <V extends T> V replace(OptionalInt rawId, RegistryKey<T> key, V newEntry, com.mojang.serialization.Lifecycle lifecycle)
If the given key is already present in the registry, replaces the entry associated with the given key with the new entry. This method asserts that the raw ID is equal to the value already in the registry. The raw ID not being present may lead to buggy behavior.If the given key is not already present in the registry, adds the entry to the registry. If
rawIdis present, then this method gives the entry this raw ID. Otherwise, uses the next available ID.- 指定者:
replace在类中MutableRegistry<T>- Mappings:
Namespace Name Mixin selector official aLgx;a(Ljava/util/OptionalInt;Lwo;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;intermediary method_31062Lnet/minecraft/class_2385;method_31062(Ljava/util/OptionalInt;Lnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;named replaceLnet/minecraft/util/registry/MutableRegistry;replace(Ljava/util/OptionalInt;Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
-
getId
@Nullable public @Nullable Identifier getId(T entry)
- 指定者:
getId在类中Registry<T>- Mappings:
Namespace Name Mixin selector official bLgr;b(Ljava/lang/Object;)Lwp;intermediary method_10221Lnet/minecraft/class_2378;method_10221(Ljava/lang/Object;)Lnet/minecraft/class_2960;named getIdLnet/minecraft/util/registry/Registry;getId(Ljava/lang/Object;)Lnet/minecraft/util/Identifier;
-
getKey
public Optional<RegistryKey<T>> getKey(T entry)
- 指定者:
getKey在类中Registry<T>- Mappings:
Namespace Name Mixin selector official cLgr;c(Ljava/lang/Object;)Ljava/util/Optional;intermediary method_29113Lnet/minecraft/class_2378;method_29113(Ljava/lang/Object;)Ljava/util/Optional;named getKeyLnet/minecraft/util/registry/Registry;getKey(Ljava/lang/Object;)Ljava/util/Optional;
-
getRawId
public int getRawId(@Nullable T entry)
- 指定者:
getRawId在接口中IndexedIterable<T>- 指定者:
getRawId在类中Registry<T>- Mappings:
Namespace Name Mixin selector official aLgk;a(Ljava/lang/Object;)Iintermediary method_10206Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)Inamed getRawIdLnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)I
-
get
@Nullable public T get(@Nullable @Nullable RegistryKey<T> key)
- 指定者:
get在类中Registry<T>- Mappings:
Namespace Name Mixin selector official aLgr;a(Lwo;)Ljava/lang/Object;intermediary method_29107Lnet/minecraft/class_2378;method_29107(Lnet/minecraft/class_5321;)Ljava/lang/Object;named getLnet/minecraft/util/registry/Registry;get(Lnet/minecraft/util/registry/RegistryKey;)Ljava/lang/Object;
-
get
@Nullable public T get(int index)
- Mappings:
Namespace Name Mixin selector official aLgk;a(I)Ljava/lang/Object;intermediary method_10200Lnet/minecraft/class_2359;method_10200(I)Ljava/lang/Object;named getLnet/minecraft/util/collection/IndexedIterable;get(I)Ljava/lang/Object;
-
getEntryLifecycle
public com.mojang.serialization.Lifecycle getEntryLifecycle(T entry)
Gets the lifecycle of a registry entry.- 指定者:
getEntryLifecycle在类中Registry<T>- Mappings:
Namespace Name Mixin selector official dLgr;d(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;intermediary method_31139Lnet/minecraft/class_2378;method_31139(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;named getEntryLifecycleLnet/minecraft/util/registry/Registry;getEntryLifecycle(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle()
- 指定者:
getLifecycle在类中Registry<T>- Mappings:
Namespace Name Mixin selector official bLgr;b()Lcom/mojang/serialization/Lifecycle;intermediary method_31138Lnet/minecraft/class_2378;method_31138()Lcom/mojang/serialization/Lifecycle;named getLifecycleLnet/minecraft/util/registry/Registry;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
iterator
public Iterator<T> iterator()
- Mappings:
Namespace Name Mixin selector official iteratorLgm;iterator()Ljava/util/Iterator;intermediary iteratorLnet/minecraft/class_2370;iterator()Ljava/util/Iterator;named iteratorLnet/minecraft/util/registry/SimpleRegistry;iterator()Ljava/util/Iterator;
-
get
@Nullable public T get(@Nullable @Nullable Identifier id)
- 指定者:
get在类中Registry<T>- Mappings:
Namespace Name Mixin selector official aLgr;a(Lwp;)Ljava/lang/Object;intermediary method_10223Lnet/minecraft/class_2378;method_10223(Lnet/minecraft/class_2960;)Ljava/lang/Object;named getLnet/minecraft/util/registry/Registry;get(Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
-
getIds
public Set<Identifier> getIds()
-
getEntries
public Set<Map.Entry<RegistryKey<T>,T>> getEntries()
- 指定者:
getEntries在类中Registry<T>- Mappings:
Namespace Name Mixin selector official dLgr;d()Ljava/util/Set;intermediary method_29722Lnet/minecraft/class_2378;method_29722()Ljava/util/Set;named getEntriesLnet/minecraft/util/registry/Registry;getEntries()Ljava/util/Set;
-
method_35863
public boolean method_35863()
- 指定者:
method_35863在类中MutableRegistry<T>- Mappings:
Namespace Name Mixin selector official eLgx;e()Zintermediary method_35863Lnet/minecraft/class_2385;method_35863()Znamed method_35863Lnet/minecraft/util/registry/MutableRegistry;method_35863()Z
-
getRandom
@Nullable public T getRandom(Random random)
- 指定者:
getRandom在类中Registry<T>- Mappings:
Namespace Name Mixin selector official aLgr;a(Ljava/util/Random;)Ljava/lang/Object;intermediary method_10240Lnet/minecraft/class_2378;method_10240(Ljava/util/Random;)Ljava/lang/Object;named getRandomLnet/minecraft/util/registry/Registry;getRandom(Ljava/util/Random;)Ljava/lang/Object;
-
containsId
public boolean containsId(Identifier id)
- 指定者:
containsId在类中Registry<T>- Mappings:
Namespace Name Mixin selector official cLgr;c(Lwp;)Zintermediary method_10250Lnet/minecraft/class_2378;method_10250(Lnet/minecraft/class_2960;)Znamed containsIdLnet/minecraft/util/registry/Registry;containsId(Lnet/minecraft/util/Identifier;)Z
-
contains
public boolean contains(RegistryKey<T> key)
-
createRegistryManagerCodec
public static <T> com.mojang.serialization.Codec<SimpleRegistry<T>> createRegistryManagerCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
- Mappings:
Namespace Name Mixin selector official aLgm;a(Lwo;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;intermediary method_29098Lnet/minecraft/class_2370;method_29098(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;named createRegistryManagerCodecLnet/minecraft/util/registry/SimpleRegistry;createRegistryManagerCodec(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
createRegistryCodec
public static <T> com.mojang.serialization.Codec<SimpleRegistry<T>> createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
- Mappings:
Namespace Name Mixin selector official bLgm;b(Lwo;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;intermediary method_29721Lnet/minecraft/class_2370;method_29721(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;named createRegistryCodecLnet/minecraft/util/registry/SimpleRegistry;createRegistryCodec(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
createCodec
public static <T> com.mojang.serialization.Codec<SimpleRegistry<T>> createCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
- Mappings:
Namespace Name Mixin selector official cLgm;c(Lwo;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;intermediary method_31059Lnet/minecraft/class_2370;method_31059(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;named createCodecLnet/minecraft/util/registry/SimpleRegistry;createCodec(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
-