Class Condition.TerminalCondition
java.lang.Object
net.minecraft.data.models.blockstates.Condition.TerminalCondition
- Enclosing interface:
- Condition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.models.blockstates.Condition
Condition.CompositeCondition, Condition.Operation, Condition.TerminalCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
get()
private static <T extends Comparable<T>>
Stringprivate static <T extends Comparable<T>>
StringjoinValues
(Property<T> p_125187_, Stream<T> p_125188_) final <T extends Comparable<T>>
Condition.TerminalConditionnegatedTerm
(Property<T> p_176297_, T p_176298_) final <T extends Comparable<T>>
Condition.TerminalConditionnegatedTerm
(Property<T> p_176300_, T p_176301_, T... p_176302_) private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
Condition.TerminalConditionfinal <T extends Comparable<T>>
Condition.TerminalConditionvoid
validate
(StateDefinition<?, ?> p_125172_)
-
Field Details
-
terms
-
-
Constructor Details
-
TerminalCondition
public TerminalCondition()
-
-
Method Details
-
joinValues
private static <T extends Comparable<T>> String joinValues(Property<T> p_125187_, Stream<T> p_125188_) -
getTerm
private static <T extends Comparable<T>> String getTerm(Property<T> p_125195_, T p_125196_, T[] p_125197_) -
putValue
-
term
public final <T extends Comparable<T>> Condition.TerminalCondition term(Property<T> p_125177_, T p_125178_) -
term
@SafeVarargs public final <T extends Comparable<T>> Condition.TerminalCondition term(Property<T> p_125180_, T p_125181_, T... p_125182_) -
negatedTerm
public final <T extends Comparable<T>> Condition.TerminalCondition negatedTerm(Property<T> p_176297_, T p_176298_) -
negatedTerm
@SafeVarargs public final <T extends Comparable<T>> Condition.TerminalCondition negatedTerm(Property<T> p_176300_, T p_176301_, T... p_176302_) -
get
public com.google.gson.JsonElement get() -
validate
-