Uses of Record Class
net.minecraft.advancements.critereon.LocationPredicate
Packages that use LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional
<LocationPredicate> EntityPredicate.LocationWrapper.affectsMovement
The field for theaffectsMovement
record component.static final com.mojang.serialization.Codec
<LocationPredicate> LocationPredicate.CODEC
private Optional
<LocationPredicate> EntityPredicate.Builder.located
private final Optional
<LocationPredicate> EntityPredicate.LocationWrapper.located
The field for thelocated
record component.private Optional
<LocationPredicate> EntityPredicate.Builder.movementAffectedBy
private final Optional
<LocationPredicate> DistanceTrigger.TriggerInstance.startPosition
The field for thestartPosition
record component.private final Optional
<LocationPredicate> FallAfterExplosionTrigger.TriggerInstance.startPosition
The field for thestartPosition
record component.private final Optional
<LocationPredicate> EntityPredicate.LocationWrapper.steppingOn
The field for thesteppingOn
record component.private Optional
<LocationPredicate> EntityPredicate.Builder.steppingOnLocation
Methods in net.minecraft.advancements.critereon that return LocationPredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionEntityPredicate.LocationWrapper.affectsMovement()
Returns the value of theaffectsMovement
record component.EntityPredicate.LocationWrapper.located()
Returns the value of thelocated
record component.DistanceTrigger.TriggerInstance.startPosition()
Returns the value of thestartPosition
record component.FallAfterExplosionTrigger.TriggerInstance.startPosition()
Returns the value of thestartPosition
record component.EntityPredicate.LocationWrapper.steppingOn()
Returns the value of thesteppingOn
record component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type LocationPredicateModifierConstructorDescriptionLocationWrapper
(Optional<LocationPredicate> located, Optional<LocationPredicate> steppingOn, Optional<LocationPredicate> affectsMovement) Creates an instance of aLocationWrapper
record class. -
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.predicate
The field for thepredicate
record 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 thepredicate
record 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 aLocationCheck
record class.