类 SimpleJsonResourceReloadListener
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
- 所有已实现的接口:
PreparableReloadListener
public abstract class SimpleJsonResourceReloadListener
extends SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected ResourceLocation
protected Map<ResourceLocation,
com.google.gson.JsonElement> prepare
(ResourceManager pResourceManager, ProfilerFiller pProfiler) static void
scanDirectory
(ResourceManager pResourceManager, String pName, com.google.gson.Gson pGson, Map<ResourceLocation, com.google.gson.JsonElement> pOutput) 从类继承的方法 net.minecraft.server.packs.resources.SimplePreparableReloadListener
apply, reload
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
gson
private final com.google.gson.Gson gson -
directory
-
-
构造器详细资料
-
SimpleJsonResourceReloadListener
-
-
方法详细资料
-
prepare
protected Map<ResourceLocation,com.google.gson.JsonElement> prepare(ResourceManager pResourceManager, ProfilerFiller pProfiler) - 指定者:
prepare
在类中SimplePreparableReloadListener<Map<ResourceLocation,
com.google.gson.JsonElement>>
-
scanDirectory
public static void scanDirectory(ResourceManager pResourceManager, String pName, com.google.gson.Gson pGson, Map<ResourceLocation, com.google.gson.JsonElement> pOutput) -
getPreparedPath
-