net.minecraft.server.packs.resources

public abstract class SimpleJsonResourceReloadListener

extends SimplePreparableReloadListener<Map<ResourceLocation, com.google.gson.JsonElement>>

All mapped superinterfaces:

PreparableReloadListener

alb
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraft.class_4309
net.minecraft.resource.JsonDataLoader
net.minecraft.src.C_80_
net.minecraft.server.packs.resources.ResourceDataJson

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_19377
LOGGER
f_10762_
private final com.google.gson.Gson
b
gson
field_19379
gson
f_10764_
private final String
c
directory
field_19380
dataType
f_10765_

Constructor summary

ModifierConstructor
public (com.google.gson.Gson gson, String dataType)

Method summary

Modifier and TypeMethod
protected Map<ResourceLocation, com.google.gson.JsonElement>
a(akx arg0, ban arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_20731(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_10772_, C_442_ arg1)
public static void
a(akx arg0, String arg1, com.google.gson.Gson arg2, Map<acq, com.google.gson.JsonElement> arg3)
scanDirectory(ResourceManager arg0, String arg1, com.google.gson.Gson arg2, Map<ResourceLocation, com.google.gson.JsonElement> arg3)
method_51148(class_3300 arg0, String arg1, com.google.gson.Gson arg2, Map<class_2960, com.google.gson.JsonElement> arg3)
load(ResourceManager manager, String dataType, com.google.gson.Gson gson, Map<Identifier, com.google.gson.JsonElement> results)
m_278771_(C_77_ p_279308_, String p_279131_, com.google.gson.Gson p_279261_, Map<C_5265_, com.google.gson.JsonElement> p_279404_)