net.minecraft.advancements.critereon

public class StatePropertiesPredicate

cz
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
public static final StatePropertiesPredicate
a
ANY
field_20736
ANY
f_67658_
private final List<StatePropertiesPredicate$PropertyMatcher>
b
properties
field_20737
conditions
f_67659_

Constructor summary

ModifierConstructor
(List<StatePropertiesPredicate$PropertyMatcher> conditions)

Method summary

Modifier and TypeMethod
private static StatePropertiesPredicate$PropertyMatcher
a(String arg0, com.google.gson.JsonElement arg1)
fromJson(String arg0, com.google.gson.JsonElement arg1)
method_22521(String arg0, com.google.gson.JsonElement arg1)
createPredicate(String key, com.google.gson.JsonElement json)
m_67686_(String p_67687_, com.google.gson.JsonElement p_67688_)
private static String
b(com.google.gson.JsonElement arg0)
getStringOrNull(com.google.gson.JsonElement arg0)
method_22522(com.google.gson.JsonElement arg0)
asNullableString(com.google.gson.JsonElement json)
m_67689_(com.google.gson.JsonElement p_67690_)
public <S extends StateHolder<?, S>> boolean
a(cus<?, 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(cur arg0)
matches(BlockState arg0)
method_22514(class_2680 arg0)
test(BlockState state)
m_67667_(C_2064_ arg0)
public boolean
a(doy arg0)
matches(FluidState arg0)
method_22518(class_3610 arg0)
test(FluidState state)
m_67684_(C_2691_ arg0)
public void
a(cus<?, ?> 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 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_()