Uses of Record Class
net.minecraft.advancements.predicates.LocationPredicate
Packages that use LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates with type parameters of type LocationPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LocationPredicate> LocationPredicate.CODECMethods in net.minecraft.advancements.predicates that return LocationPredicate -
Uses of LocationPredicate in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as LocationPredicateModifier and TypeFieldDescriptionprivate final LocationPredicateEntityLocationPredicate.predicateThe field for thepredicaterecord component.private final LocationPredicateMovementAffectedByPredicate.predicateThe field for thepredicaterecord component.private final LocationPredicateSteppingOnPredicate.predicateThe field for thepredicaterecord component.Methods in net.minecraft.advancements.predicates.entity that return LocationPredicateModifier and TypeMethodDescriptionEntityLocationPredicate.predicate()Returns the value of thepredicaterecord component.MovementAffectedByPredicate.predicate()Returns the value of thepredicaterecord component.SteppingOnPredicate.predicate()Returns the value of thepredicaterecord component.Constructors in net.minecraft.advancements.predicates.entity with parameters of type LocationPredicateModifierConstructorDescriptionEntityLocationPredicate(LocationPredicate predicate) Creates an instance of aEntityLocationPredicaterecord class.MovementAffectedByPredicate(LocationPredicate predicate) Creates an instance of aMovementAffectedByPredicaterecord class.SteppingOnPredicate(LocationPredicate predicate) Creates an instance of aSteppingOnPredicaterecord class. -
Uses of LocationPredicate in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional<LocationPredicate> DistanceTrigger.TriggerInstance.startPositionThe field for thestartPositionrecord component.private final Optional<LocationPredicate> FallAfterExplosionTrigger.TriggerInstance.startPositionThe field for thestartPositionrecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionDistanceTrigger.TriggerInstance.startPosition()Returns the value of thestartPositionrecord component.FallAfterExplosionTrigger.TriggerInstance.startPosition()Returns the value of thestartPositionrecord component. -
Uses of LocationPredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional<LocationPredicate> LocationCheck.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionLocationCheck.predicate()Returns the value of thepredicaterecord component.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LocationPredicateModifierConstructorDescriptionLocationCheck(Optional<LocationPredicate> predicate, BlockPos offset) Creates an instance of aLocationCheckrecord class.