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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LocationPredicate> LocationPredicate.CODEC
private Optional
<LocationPredicate> EntityPredicate.Builder.location
private final Optional
<LocationPredicate> EntityPredicate.location
The field for thelocation
record component.private Optional
<LocationPredicate> EntityPredicate.Builder.steppingOn
private final Optional
<LocationPredicate> EntityPredicate.steppingOn
The field for thesteppingOn
record component.Modifier and TypeMethodDescriptionEntityPredicate.location()
Returns the value of thelocation
record component.EntityPredicate.steppingOn()
Returns the value of thesteppingOn
record component.