类 RecipePriorityManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>>>
net.neoforged.neoforge.common.crafting.RecipePriorityManager
- 所有已实现的接口:
PreparableReloadListener
public class RecipePriorityManager
extends SimplePreparableReloadListener<it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>>>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private static final com.google.gson.Gson
static final org.apache.logging.log4j.Logger
private final RecipeManager
private it.unimi.dsi.fastutil.objects.Object2IntMap
<ResourceKey<Recipe<?>>> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
apply
(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> map, ResourceManager resourceManager, ProfilerFiller profilerFiller) it.unimi.dsi.fastutil.objects.Object2IntMap
<ResourceKey<Recipe<?>>> An immutable map of the registered recipe priorities in layered order.protected it.unimi.dsi.fastutil.objects.Object2IntMap
<ResourceKey<Recipe<?>>> prepare
(ResourceManager resourceManager, ProfilerFiller profilerFiller) 从类继承的方法 net.minecraft.server.packs.resources.SimplePreparableReloadListener
reload
从类继承的方法 net.neoforged.neoforge.resource.ContextAwareReloadListener
getContext, getRegistryLookup, injectContext, makeConditionalOps, makeConditionalOps
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
GSON
private static final com.google.gson.Gson GSON -
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
recipeManager
-
recipePriorities
-
-
构造器详细资料
-
RecipePriorityManager
-
-
方法详细资料
-
prepare
protected it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> prepare(ResourceManager resourceManager, ProfilerFiller profilerFiller) - 指定者:
prepare
在类中SimplePreparableReloadListener<it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>>>
-
apply
protected void apply(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> map, ResourceManager resourceManager, ProfilerFiller profilerFiller) - 指定者:
apply
在类中SimplePreparableReloadListener<it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>>>
-
getRecipePriorities
An immutable map of the registered recipe priorities in layered order.
-