net.minecraft.server.packs.resources

public abstract class SimpleJsonResourceReloadListener<T>

extends SimplePreparableReloadListener<Map<ResourceLocation, T>>

All mapped superinterfaces:

PreparableReloadListener

aut
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraft.class_4309
net.minecraft.resource.JsonDataLoader
net.minecraft.server.packs.resources.ResourceDataJson

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_19377
LOGGER
private final com.mojang.serialization.DynamicOps<com.google.gson.JsonElement>
b
ops
field_54055
ops
private final com.mojang.serialization.Codec<T>
c
codec
field_54056
codec
private final FileToIdConverter
d
lister
field_55194
finder

Constructor summary

ModifierConstructor
protected (HolderLookup$Provider registries, com.mojang.serialization.Codec<T> codec, ResourceKey<? extends Registry<T>> registryRef)
protected (com.mojang.serialization.Codec<T> codec, FileToIdConverter finder)
private (com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Codec<T> codec, FileToIdConverter finder)

Method summary

Modifier and TypeMethod
protected Map<ResourceLocation, T>
a(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_20731(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
public static <T> void
a(aup arg0, aku<? extends ke<T>> arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<akv, T> arg4)
scanDirectory(ResourceManager arg0, ResourceKey<? extends Registry<T>> arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<ResourceLocation, T> arg4)
method_65310(class_3300 arg0, class_5321<? extends class_2378<T>> arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<class_2960, T> arg4)
load(ResourceManager manager, RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<Identifier, T> results)
public static <T> void
a(aup arg0, ako arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<akv, T> arg4)
scanDirectory(ResourceManager arg0, FileToIdConverter arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<ResourceLocation, T> arg4)
method_51148(class_3300 arg0, class_7654 arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Codec<T> arg3, Map<class_2960, T> arg4)
load(ResourceManager manager, ResourceFinder finder, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<Identifier, T> results)