Uses of Record Class
net.minecraft.advancements.critereon.GameTypePredicate
Packages that use GameTypePredicate
-
Uses of GameTypePredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as GameTypePredicateModifier and TypeFieldDescriptionstatic final GameTypePredicate
GameTypePredicate.ANY
private GameTypePredicate
PlayerPredicate.Builder.gameType
private final GameTypePredicate
PlayerPredicate.gameType
The field for thegameType
record component.static final GameTypePredicate
GameTypePredicate.SURVIVAL_LIKE
Fields in net.minecraft.advancements.critereon with type parameters of type GameTypePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<GameTypePredicate> GameTypePredicate.CODEC
Methods in net.minecraft.advancements.critereon that return GameTypePredicateModifier and TypeMethodDescriptionPlayerPredicate.gameType()
Returns the value of thegameType
record component.static GameTypePredicate
Methods in net.minecraft.advancements.critereon with parameters of type GameTypePredicateModifier and TypeMethodDescriptionPlayerPredicate.Builder.setGameType
(GameTypePredicate p_350565_) Constructors in net.minecraft.advancements.critereon with parameters of type GameTypePredicateModifierConstructorDescriptionPlayerPredicate
(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicate
record class.