Package net.minecraft.data
Class IMultiPartPredicateBuilder.Serializer
- java.lang.Object
-
- net.minecraft.data.IMultiPartPredicateBuilder.Serializer
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
,IMultiPartPredicateBuilder
- Enclosing interface:
- IMultiPartPredicateBuilder
public static class IMultiPartPredicateBuilder.Serializer 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
-
-
Field Summary
Fields Modifier and Type Field Description private IMultiPartPredicateBuilder.Operator
operation
private java.util.List<IMultiPartPredicateBuilder>
subconditions
-
Constructor Summary
Constructors Modifier Constructor Description private
Serializer(IMultiPartPredicateBuilder.Operator p_i232521_1_, java.util.List<IMultiPartPredicateBuilder> p_i232521_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
get()
void
validate(StateContainer<?,?> p_230523_1_)
-
-
-
Field Detail
-
operation
private final IMultiPartPredicateBuilder.Operator operation
-
subconditions
private final java.util.List<IMultiPartPredicateBuilder> subconditions
-
-
Constructor Detail
-
Serializer
private Serializer(IMultiPartPredicateBuilder.Operator p_i232521_1_, java.util.List<IMultiPartPredicateBuilder> p_i232521_2_)
-
-
Method Detail
-
validate
public void validate(StateContainer<?,?> p_230523_1_)
- Specified by:
validate
in interfaceIMultiPartPredicateBuilder
-
get
public com.google.gson.JsonElement get()
- Specified by:
get
in interfacejava.util.function.Supplier<com.google.gson.JsonElement>
-
-