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.Codec<? extends ICondition>
codec()
boolean
test
(ICondition.IContext context)
-
Field Details
-
CODEC
-
DEFAULT_FIELD
- See Also:
-
OPTIONAL_FEILD_CODEC
-
SAFE_CODEC
-
-
Method Details
-
test
-
codec
com.mojang.serialization.Codec<? extends ICondition> codec()
-