Package net.minecraft.data
Class IMultiPartPredicateBuilder.Properties
- java.lang.Object
-
- net.minecraft.data.IMultiPartPredicateBuilder.Properties
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
,IMultiPartPredicateBuilder
- Enclosing interface:
- IMultiPartPredicateBuilder
public static class IMultiPartPredicateBuilder.Properties extends java.lang.Object implements IMultiPartPredicateBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.data.IMultiPartPredicateBuilder
IMultiPartPredicateBuilder.Operator, IMultiPartPredicateBuilder.Properties, IMultiPartPredicateBuilder.Serializer
-
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
get()
private static <T extends java.lang.Comparable<T>>
java.lang.StringgetTerm(Property<T> p_240103_0_, T p_240103_1_, T[] p_240103_2_)
private static <T extends java.lang.Comparable<T>>
java.lang.StringjoinValues(Property<T> p_240101_0_, java.util.stream.Stream<T> p_240101_1_)
private <T extends java.lang.Comparable<T>>
voidputValue(Property<T> p_240100_1_, java.lang.String p_240100_2_)
<T extends java.lang.Comparable<T>>
IMultiPartPredicateBuilder.Propertiesterm(Property<T> p_240098_1_, T p_240098_2_)
<T extends java.lang.Comparable<T>>
IMultiPartPredicateBuilder.Propertiesterm(Property<T> p_240099_1_, T p_240099_2_, T... p_240099_3_)
void
validate(StateContainer<?,?> p_230523_1_)
-
-
-
Field Detail
-
terms
private final java.util.Map<Property<?>,java.lang.String> terms
-
-
Method Detail
-
joinValues
private static <T extends java.lang.Comparable<T>> java.lang.String joinValues(Property<T> p_240101_0_, java.util.stream.Stream<T> p_240101_1_)
-
getTerm
private static <T extends java.lang.Comparable<T>> java.lang.String getTerm(Property<T> p_240103_0_, T p_240103_1_, T[] p_240103_2_)
-
putValue
private <T extends java.lang.Comparable<T>> void putValue(Property<T> p_240100_1_, java.lang.String p_240100_2_)
-
term
public final <T extends java.lang.Comparable<T>> IMultiPartPredicateBuilder.Properties term(Property<T> p_240098_1_, T p_240098_2_)
-
term
@SafeVarargs public final <T extends java.lang.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()
- Specified by:
get
in interfacejava.util.function.Supplier<com.google.gson.JsonElement>
-
validate
public void validate(StateContainer<?,?> p_230523_1_)
- Specified by:
validate
in interfaceIMultiPartPredicateBuilder
-
-