Uses of Record Class
net.minecraft.advancements.critereon.PlayerPredicate.StatMatcher
-
Uses of PlayerPredicate.StatMatcher in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerPredicate.StatMatcher<?>>
PlayerPredicate.StatMatcher.CODEC
private final com.google.common.collect.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.createTypedCodec
(StatType<T> p_297243_) PlayerPredicate.stats()
Returns the value of thestats
record component.ModifierConstructorDescriptionPlayerPredicate
(MinMaxBounds.Ints level, Optional<GameType> gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) Creates an instance of aPlayerPredicate
record class.