Uses of Interface
net.minecraftforge.common.crafting.conditions.ICondition.IContext
Package
Description
-
Uses of ICondition.IContext in net.minecraft.advancements
Modifier and TypeMethodDescriptionstatic Advancement.Builder
Advancement.Builder.fromJson
(com.google.gson.JsonObject p_138381_, DeserializationContext p_138382_, ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final ICondition.IContext
ReloadableServerResources.context
private final ICondition.IContext
ServerAdvancementManager.context
Modifier and TypeMethodDescriptionReloadableServerResources.getConditionContext()
Exposes the current condition context for usage in other reload listeners.
This is not useful outside the reloading stage.ModifierConstructorDescriptionServerAdvancementManager
(LootDataManager p_279237_, ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraft.world.item.crafting
Modifier and TypeMethodDescriptionstatic Recipe<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraftforge.common.crafting
Modifier and TypeMethodDescriptionConditionalRecipe.Serializer.fromJson
(ResourceLocation recipeId, com.google.gson.JsonObject json, ICondition.IContext context) static @Nullable com.google.gson.JsonObject
ConditionalAdvancement.processConditional
(com.google.gson.JsonObject json, ICondition.IContext context) Processes the conditional advancement during loading.static boolean
CraftingHelper.processConditions
(com.google.gson.JsonArray conditions, ICondition.IContext context) static boolean
CraftingHelper.processConditions
(com.google.gson.JsonObject json, String memberName, ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraftforge.common.crafting.conditions
Modifier and TypeFieldDescriptionstatic final ICondition.IContext
ICondition.IContext.EMPTY
static final ICondition.IContext
ICondition.IContext.TAGS_INVALID
Modifier and TypeMethodDescriptionboolean
AndCondition.test
(ICondition.IContext context) boolean
FalseCondition.test
(ICondition.IContext condition) boolean
ICondition.test
(ICondition.IContext context) boolean
ItemExistsCondition.test
(ICondition.IContext context) boolean
ModLoadedCondition.test
(ICondition.IContext context) boolean
NotCondition.test
(ICondition.IContext context) boolean
OrCondition.test
(ICondition.IContext context) boolean
TagEmptyCondition.test
(ICondition.IContext context) boolean
TrueCondition.test
(ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault T
IForgeRecipeSerializer.fromJson
(ResourceLocation recipeLoc, com.google.gson.JsonObject recipeJson, ICondition.IContext context) -
Uses of ICondition.IContext in net.minecraftforge.event
Modifier and TypeMethodDescriptionAddReloadListenerEvent.getConditionContext()
This context object holds data relevant to the current reload, such as staged tags.