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.MapCodec
<PlayerPredicate.StatMatcher<T>> PlayerPredicate.StatMatcher.createCodec
(StatType<T> type) PlayerPredicate.stats()
Returns the value of thestats
record component.ModifierConstructorDescriptionPlayerPredicate
(NumberRange.IntRange experienceLevel, GameModeList gameModeList, List<PlayerPredicate.StatMatcher<?>> list, Object2BooleanMap<RegistryKey<Recipe<?>>> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> optional, Optional<InputPredicate> optional2)