net.minecraft.predicate

record StatePredicate$ExactValueMatcher

implements StatePredicate$ValueMatcher

net.minecraft.advancements.predicates.StatePropertiesPredicate$ExactMatcher
net.minecraft.class_4559$class_4561
net.minecraft.predicate.StatePredicate$ExactValueMatcher

Field summary

Modifier and TypeField
private final String
value
comp_1831
value
public static final com.mojang.serialization.Codec<StatePredicate$ExactValueMatcher>
CODEC
field_45779
CODEC
public static final PacketCodec<io.netty.buffer.ByteBuf, StatePredicate$ExactValueMatcher>
STREAM_CODEC
field_49397
PACKET_CODEC

Constructor summary

ModifierConstructor
private (String key)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> boolean
match(StateHolder<?, ?> state, Property<T> property)
method_22532(class_2688<?, ?> arg0, class_2769<T> arg1)
test(State<?, ?> arg0, Property<T> arg1)
public String
value()
comp_1831()
value()