Package net.minecraft.util.dynamic
Class EntryLoader.Impl
java.lang.Object
net.minecraft.util.dynamic.EntryLoader.Impl
- All Implemented Interfaces:
EntryLoader
- Enclosing interface:
EntryLoader
- Mappings:
Namespace Name official yr$a
intermediary net/minecraft/class_5506$class_5507
named net/minecraft/util/dynamic/EntryLoader$Impl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.dynamic.EntryLoader
EntryLoader.Entry<E>, EntryLoader.Impl
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final Map<RegistryKey<?>,
EntryLoader.Impl.Element> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<E> void
add
(DynamicRegistryManager registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle) <E> Collection<RegistryKey<E>>
getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>>
load
(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Lyr$a;a:Lorg/slf4j/Logger;
intermediary field_36187
Lnet/minecraft/class_5506$class_5507;field_36187:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/util/dynamic/EntryLoader$Impl;LOGGER:Lorg/slf4j/Logger;
-
values
- Mappings:
Namespace Name Mixin selector official b
Lyr$a;b:Ljava/util/Map;
intermediary field_26741
Lnet/minecraft/class_5506$class_5507;field_26741:Ljava/util/Map;
named values
Lnet/minecraft/util/dynamic/EntryLoader$Impl;values:Ljava/util/Map;
-
-
Constructor Details
-
Impl
public Impl()
-
-
Method Details
-
add
public <E> void add(DynamicRegistryManager registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official a
Lyr$a;a(Lhc;Lys;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
intermediary method_31159
Lnet/minecraft/class_5506$class_5507;method_31159(Lnet/minecraft/class_5455;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
named add
Lnet/minecraft/util/dynamic/EntryLoader$Impl;add(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
-
getKnownEntryPaths
- Specified by:
getKnownEntryPaths
in interfaceEntryLoader
- Returns:
- A collection of file Identifiers of all known entries of the given registry. Note that these are file Identifiers for use in a resource manager, not the logical names of the entries.
- Mappings:
Namespace Name Mixin selector official a
Lyr;a(Lys;)Ljava/util/Collection;
intermediary method_31156
Lnet/minecraft/class_5506;method_31156(Lnet/minecraft/class_5321;)Ljava/util/Collection;
named getKnownEntryPaths
Lnet/minecraft/util/dynamic/EntryLoader;getKnownEntryPaths(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Collection;
-
load
public <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>> load(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder) - Specified by:
load
in interfaceEntryLoader
- Mappings:
Namespace Name Mixin selector official a
Lyr;a(Lcom/mojang/serialization/DynamicOps;Lys;Lys;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
intermediary method_31155
Lnet/minecraft/class_5506;method_31155(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
named load
Lnet/minecraft/util/dynamic/EntryLoader;load(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
-