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
-
Uses of ICondition in net.minecraftforge.common.crafting
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
com.mojang.serialization.Codec<? extends ICondition>> CraftingHelper.conditions
Modifier and TypeMethodDescriptionstatic void
CraftingHelper.register
(ResourceLocation key, com.mojang.serialization.Codec<? extends ICondition> codec) -
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
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
CallingSupplier.get()
beforeNewRegistryEvent
is fired will result in a null registry returned.static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ICondition>>>
ForgeRegistries.Keys.CONDITION_SERIALIZERS
(package private) static final DeferredRegister<com.mojang.serialization.Codec<? extends ICondition>>
ForgeRegistries.DEFERRED_CONDITION_CODECS
Modifier and TypeMethodDescription(package private) static RegistryBuilder<com.mojang.serialization.Codec<? extends ICondition>>
GameData.getConditionCodecRegistryBuilder()