Interface ICondition

All Known Implementing Classes:
AndCondition, FalseCondition, ItemExistsCondition, ModLoadedCondition, NotCondition, OrCondition, TagEmptyCondition, TrueCondition

public interface ICondition
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<ICondition> CODEC
    • DEFAULT_FIELD

      static final String DEFAULT_FIELD
      See Also:
    • OPTIONAL_FEILD_CODEC

      static final com.mojang.serialization.MapCodec<Optional<ICondition>> OPTIONAL_FEILD_CODEC
    • SAFE_CODEC

      static final com.mojang.serialization.Codec<ICondition> SAFE_CODEC
  • Method Details