Uses of Record Class
net.minecraft.predicate.entity.LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<LocationPredicate> FallAfterExplosionCriterion.Conditions.startPosition
The field for thestartPosition
record component.private final Optional
<LocationPredicate> TravelCriterion.Conditions.startPosition
The field for thestartPosition
record component.Modifier and TypeMethodDescriptionFallAfterExplosionCriterion.Conditions.startPosition()
Returns the value of thestartPosition
record component.TravelCriterion.Conditions.startPosition()
Returns the value of thestartPosition
record component. -
Uses of LocationPredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final Optional
<LocationPredicate> LocationCheckLootCondition.predicate
The field for thepredicate
record component.Modifier and TypeMethodDescriptionLocationCheckLootCondition.predicate()
Returns the value of thepredicate
record component.ModifierConstructorDescriptionLocationCheckLootCondition
(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final Optional
<LocationPredicate> EntityPredicate.PositionalPredicates.affectsMovement
The field for theaffectsMovement
record component.static final com.mojang.serialization.Codec
<LocationPredicate> LocationPredicate.CODEC
private final Optional
<LocationPredicate> EntityPredicate.PositionalPredicates.located
The field for thelocated
record component.private Optional
<LocationPredicate> EntityPredicate.Builder.location
private Optional
<LocationPredicate> EntityPredicate.Builder.movementAffectedBy
private Optional
<LocationPredicate> EntityPredicate.Builder.steppingOn
private final Optional
<LocationPredicate> EntityPredicate.PositionalPredicates.steppingOn
The field for thesteppingOn
record component.Modifier and TypeMethodDescriptionEntityPredicate.PositionalPredicates.affectsMovement()
Returns the value of theaffectsMovement
record component.EntityPredicate.PositionalPredicates.located()
Returns the value of thelocated
record component.EntityPredicate.PositionalPredicates.steppingOn()
Returns the value of thesteppingOn
record component.ModifierConstructorDescriptionPositionalPredicates
(Optional<LocationPredicate> optional, Optional<LocationPredicate> optional2, Optional<LocationPredicate> optional3)