Class ValuePredicate<V extends IValue>

java.lang.Object
org.cyclops.integrateddynamics.api.advancement.criterion.ValuePredicate<V>
Direct Known Subclasses:
ValueObjectTypeEntity.ValueEntityPredicate, ValueObjectTypeItemStack.ValueItemStackPredicate, ValueTypeList.ValueListPredicate, ValueTypeOperator.ValueOperatorPredicate

public class ValuePredicate<V extends IValue> extends Object
A predicate for values of a certain type.
  • Field Details

  • Constructor Details

  • Method Details

    • getValueType

      public Optional<IValueType> getValueType()
    • getValue

      public Optional<IValue> getValue()
    • getValueJson

      public Optional<com.google.gson.JsonElement> getValueJson()
    • test

      public final boolean test(IValue value)
    • testTyped

      protected boolean testTyped(V value)