Uses of Record Class
net.minecraft.advancements.predicates.GameTypePredicate
Packages that use GameTypePredicate
Package
Description
-
Uses of GameTypePredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates declared as GameTypePredicateModifier and TypeFieldDescriptionstatic final GameTypePredicateGameTypePredicate.ANYstatic final GameTypePredicateGameTypePredicate.SURVIVAL_LIKEFields in net.minecraft.advancements.predicates with type parameters of type GameTypePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GameTypePredicate> GameTypePredicate.CODECMethods in net.minecraft.advancements.predicates that return GameTypePredicate -
Uses of GameTypePredicate in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as GameTypePredicateModifier and TypeFieldDescriptionprivate GameTypePredicatePlayerPredicate.Builder.gameTypeprivate final GameTypePredicatePlayerPredicate.gameTypeThe field for thegameTyperecord component.Methods in net.minecraft.advancements.predicates.entity that return GameTypePredicateModifier and TypeMethodDescriptionPlayerPredicate.gameType()Returns the value of thegameTyperecord component.Methods in net.minecraft.advancements.predicates.entity with parameters of type GameTypePredicateModifier and TypeMethodDescriptionPlayerPredicate.Builder.setGameType(GameTypePredicate gameType) Constructors in net.minecraft.advancements.predicates.entity with parameters of type GameTypePredicateModifierConstructorDescriptionPlayerPredicate(MinMaxBounds.Ints level, FoodPredicate food, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicaterecord class.