net.minecraft.advancements.critereon

public record StatePropertiesPredicate

dx
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>
c
properties
comp_1830
conditions
f_67659_
private static final com.mojang.serialization.Codec<List<StatePropertiesPredicate$PropertyMatcher>>
d
PROPERTIES_CODEC
field_45778
CONDITION_LIST_CODEC
f_291220_
public static final com.mojang.serialization.Codec<StatePropertiesPredicate>
a
CODEC
field_45777
CODEC
f_291190_
public static final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate>
b
STREAM_CODEC
field_49396
PACKET_CODEC
f_316592_

Constructor summary

ModifierConstructor
public (List<StatePropertiesPredicate$PropertyMatcher> conditions)

Method summary

Modifier and TypeMethod
public <S extends StateHolder<?, S>> boolean
a(dsf<?, 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(dse arg0)
matches(BlockState arg0)
method_22514(class_2680 arg0)
test(BlockState state)
m_67667_(C_2064_ arg0)
public boolean
a(enx arg0)
matches(FluidState arg0)
method_22518(class_3610 arg0)
test(FluidState state)
m_67684_(C_2691_ arg0)
public Optional<String>
a(dsf<?, ?> arg0)
checkState(StateDefinition<?, ?> arg0)
method_53235(class_2689<?, ?> arg0)
findMissing(StateManager<?, ?> stateManager)
m_294047_(C_2065_<?, ?> arg0)
public List<StatePropertiesPredicate$PropertyMatcher>
a()
properties()
comp_1830()
conditions()
f_67659_()