Uses of Record Class
net.minecraft.predicate.entity.PlayerPredicate.StatMatcher
-
Uses of PlayerPredicate.StatMatcher in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerPredicate.StatMatcher<?>>
PlayerPredicate.StatMatcher.CODEC
private final ImmutableList.Builder<PlayerPredicate.StatMatcher<?>>
PlayerPredicate.Builder.stats
private final List<PlayerPredicate.StatMatcher<?>>
PlayerPredicate.stats
The field for thestats
record component.Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Codec<PlayerPredicate.StatMatcher<T>>
PlayerPredicate.StatMatcher.createCodec
(StatType<T> type) PlayerPredicate.stats()
Returns the value of thestats
record component.ModifierConstructorDescriptionPlayerPredicate
(NumberRange.IntRange experienceLevel, Optional<GameMode> optional, List<PlayerPredicate.StatMatcher<?>> list, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> optional2)