类 LootModifierManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraftforge.common.loot.LootModifierManager
- 所有已实现的接口:
PreparableReloadListener
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private static final String
static final com.google.gson.Gson
static final org.apache.logging.log4j.Logger
private Map<ResourceLocation,
IGlobalLootModifier> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
apply
(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) An immutable collection of the registered loot modifiers in layered order.从类继承的方法 net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
getPreparedPath, prepare, scanDirectory
从类继承的方法 net.minecraft.server.packs.resources.SimplePreparableReloadListener
reload
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
GSON_INSTANCE
public static final com.google.gson.Gson GSON_INSTANCE -
registeredLootModifiers
-
folder
- 另请参阅:
-
-
构造器详细资料
-
LootModifierManager
public LootModifierManager()
-
-
方法详细资料
-
apply
protected void apply(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) - 指定者:
apply
在类中SimplePreparableReloadListener<Map<ResourceLocation,
com.google.gson.JsonElement>>
-
getAllLootMods
An immutable collection of the registered loot modifiers in layered order.
-