Interface ICondition
- All Known Implementing Classes:
AndCondition
,FalseCondition
,ItemExistsCondition
,ModLoadedCondition
,NotCondition
,OrCondition
,TagEmptyCondition
,TrueCondition
public interface ICondition
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ICondition> static final String
static final com.mojang.serialization.MapCodec
<Optional<ICondition>> static final com.mojang.serialization.Codec
<ICondition> -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends ICondition> codec()
boolean
test
(ICondition.IContext context, com.mojang.serialization.DynamicOps<?> ops)
-
Field Details
-
CODEC
-
DEFAULT_FIELD
- See Also:
-
OPTIONAL_FEILD_CODEC
-
SAFE_CODEC
-
-
Method Details
-
test
-
codec
com.mojang.serialization.MapCodec<? extends ICondition> codec()
-