Package net.minecraft.data
Class IMultiPartPredicateBuilder.Properties
java.lang.Object
net.minecraft.data.IMultiPartPredicateBuilder.Properties
- All Implemented Interfaces:
Supplier<com.google.gson.JsonElement>
,IMultiPartPredicateBuilder
- Enclosing interface:
- IMultiPartPredicateBuilder
public static class IMultiPartPredicateBuilder.Properties
extends Object
implements IMultiPartPredicateBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.IMultiPartPredicateBuilder
IMultiPartPredicateBuilder.Operator, IMultiPartPredicateBuilder.Properties, IMultiPartPredicateBuilder.Serializer
-
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_240101_0_, Stream<T> p_240101_1_) private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
IMultiPartPredicateBuilder.Propertiesfinal <T extends Comparable<T>>
IMultiPartPredicateBuilder.Propertiesvoid
validate
(StateContainer<?, ?> p_230523_1_)
-
Field Details
-
terms
-
-
Constructor Details
-
Properties
public Properties()
-
-
Method Details
-
joinValues
private static <T extends Comparable<T>> String joinValues(Property<T> p_240101_0_, Stream<T> p_240101_1_) -
getTerm
private static <T extends Comparable<T>> String getTerm(Property<T> p_240103_0_, T p_240103_1_, T[] p_240103_2_) -
putValue
-
term
public final <T extends Comparable<T>> IMultiPartPredicateBuilder.Properties term(Property<T> p_240098_1_, T p_240098_2_) -
term
@SafeVarargs public final <T extends Comparable<T>> IMultiPartPredicateBuilder.Properties term(Property<T> p_240099_1_, T p_240099_2_, T... p_240099_3_) -
get
public com.google.gson.JsonElement get() -
validate
- Specified by:
validate
in interfaceIMultiPartPredicateBuilder
-