net.minecraft.advancements.critereon

public record StatePropertiesPredicate

da
net.minecraft.advancements.critereon.StatePropertiesPredicate
net.minecraft.class_4559
net.minecraft.predicate.StatePredicate
net.minecraft.src.C_2332_
net.minecraft.advancements.critereon.CriterionTriggerProperties

Field summary

Modifier and TypeField
private final List<StatePropertiesPredicate$PropertyMatcher>
b
properties
comp_1830
conditions
f_67659_
private static final com.mojang.serialization.Codec<List<StatePropertiesPredicate$PropertyMatcher>>
c
PROPERTIES_CODEC
field_45778
CONDITION_LIST_CODEC
f_291220_
public static final com.mojang.serialization.Codec<StatePropertiesPredicate>
a
CODEC
field_45777
CODEC
f_291190_

Constructor summary

ModifierConstructor
public (List<StatePropertiesPredicate$PropertyMatcher> conditions)

Method summary

Modifier and TypeMethod
public <S extends StateHolder<?, S>> boolean
a(dfk<?, S> arg0, S arg1)
matches(StateDefinition<?, S> arg0, S arg1)
method_22515(class_2689<?, S> arg0, S arg1)
test(StateManager<?, S> stateManager, S container)
m_67669_(C_2065_<?, S> p_67671_, S arg1)
public boolean
a(dfj arg0)
matches(BlockState arg0)
method_22514(class_2680 arg0)
test(BlockState state)
m_67667_(C_2064_ arg0)
public boolean
a(eam arg0)
matches(FluidState arg0)
method_22518(class_3610 arg0)
test(FluidState state)
m_67684_(C_2691_ arg0)
public Optional<String>
a(dfk<?, ?> arg0)
checkState(StateDefinition<?, ?> arg0)
method_53235(class_2689<?, ?> arg0)
findMissing(StateManager<?, ?> stateManager)
m_294047_(C_2065_<?, ?> arg0)
public void
a(dfk<?, ?> arg0, Consumer<String> arg1)
checkState(StateDefinition<?, ?> arg0, Consumer<String> arg1)
method_22516(class_2689<?, ?> arg0, Consumer<String> arg1)
check(StateManager<?, ?> factory, Consumer<String> reporter)
m_67672_(C_2065_<?, ?> p_67674_, Consumer<String> arg1)
public static Optional<StatePropertiesPredicate>
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_22519(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_67679_(com.google.gson.JsonElement p_67680_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_22513()
toJson()
m_67666_()
public List<StatePropertiesPredicate$PropertyMatcher>
b()
properties()
comp_1830()
conditions()
f_67659_()