Uses of Interface
net.minecraftforge.common.crafting.conditions.ICondition
Package
Description
-
Uses of ICondition in net.minecraft.world.level.storage.loot
-
Uses of ICondition in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final DeferredRegister<com.mojang.serialization.Codec<? extends ICondition>>
ForgeMod.CONDITION_SERIALIZERS
Modifier and TypeMethodDescriptionstatic void
ForgeHooks.writeCondition
(ICondition condition, com.google.gson.JsonObject out) -
Uses of ICondition in net.minecraftforge.common.crafting
Modifier and TypeFieldDescriptionprivate ICondition
ConditionalAdvancement.Builder.condition
private final ICondition
ConditionalAdvancement.Pair.condition
The field for thecondition
record component.private @Nullable ICondition
ConditionalRecipe.Builder.condition
private final ICondition
ConditionalRecipe.InnerAdvancement.condition
The field for thecondition
record component.private final ICondition
ConditionalRecipe.InnerRecipe.condition
The field for thecondition
record component.private final @Nullable ICondition
ConditionalRecipe.Wrapper.main
private @Nullable ICondition
ConditionalRecipe.Builder.mainCondition
Modifier and TypeMethodDescriptionConditionalAdvancement.Pair.condition()
Returns the value of thecondition
record component.ConditionalRecipe.InnerAdvancement.condition()
Returns the value of thecondition
record component.ConditionalRecipe.InnerRecipe.condition()
Returns the value of thecondition
record component.Modifier and TypeMethodDescriptionConditionalAdvancement.Builder.condition
(ICondition value) ConditionalRecipe.Builder.condition
(ICondition value) ConditionalRecipe.Builder.mainCondition
(ICondition value) ModifierConstructorDescriptionprivate
InnerAdvancement
(ICondition condition, AdvancementHolder advancement) Creates an instance of aInnerAdvancement
record class.private
InnerRecipe
(ICondition condition, Recipe<?> recipe) Creates an instance of aInnerRecipe
record class.private
Pair
(ICondition condition, Advancement adv) Creates an instance of aPair
record class.private
Wrapper
(@Nullable ICondition main, List<ConditionalRecipe.InnerRecipe> recipes) -
Uses of ICondition in net.minecraftforge.common.crafting.conditions
Modifier and TypeClassDescriptionfinal record
final class
final record
final record
final record
final record
final record
final class
Modifier and TypeFieldDescriptionprivate final ICondition
NotCondition.child
The field for thechild
record component.Modifier and TypeFieldDescriptionprivate final List<ICondition>
AndCondition.children
The field for thechildren
record component.private final List<ICondition>
OrCondition.children
The field for thechildren
record component.static final com.mojang.serialization.Codec<ICondition>
ICondition.CODEC
static final com.mojang.serialization.MapCodec<Optional<ICondition>>
ICondition.OPTIONAL_FEILD_CODEC
static final com.mojang.serialization.Codec<ICondition>
ICondition.SAFE_CODEC
Modifier and TypeMethodDescriptiondefault ICondition
IConditionBuilder.and
(ICondition... values) NotCondition.child()
Returns the value of thechild
record component.default ICondition
IConditionBuilder.FALSE()
default ICondition
IConditionBuilder.itemExists
(String namespace, String path) default ICondition
default ICondition
IConditionBuilder.not
(ICondition value) default ICondition
IConditionBuilder.or
(ICondition... values) default ICondition
default ICondition
IConditionBuilder.TRUE()
Modifier and TypeMethodDescriptionAndCondition.children()
Returns the value of thechildren
record component.OrCondition.children()
Returns the value of thechildren
record component.com.mojang.serialization.Codec<? extends ICondition>
AndCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
FalseCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
ICondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
ItemExistsCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
ModLoadedCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
NotCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
OrCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
TagEmptyCondition.codec()
com.mojang.serialization.Codec<? extends ICondition>
TrueCondition.codec()
Modifier and TypeMethodDescriptiondefault ICondition
IConditionBuilder.and
(ICondition... values) default ICondition
IConditionBuilder.not
(ICondition value) default ICondition
IConditionBuilder.or
(ICondition... values) ModifierConstructorDescriptionNotCondition
(ICondition child) Creates an instance of aNotCondition
record class.ModifierConstructorDescriptionAndCondition
(List<ICondition> children) Creates an instance of aAndCondition
record class.OrCondition
(List<ICondition> children) Creates an instance of aOrCondition
record class. -
Uses of ICondition in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final Supplier<IForgeRegistry<com.mojang.serialization.Codec<? extends ICondition>>>
ForgeRegistries.CONDITION_SERIALIZERS
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ICondition>>>
ForgeRegistries.Keys.CONDITION_SERIALIZERS