Uses of Record Class
net.minecraft.predicate.entity.LocationPredicate
Packages that use LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type LocationPredicateModifier 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.Methods in net.minecraft.advancement.criterion that return types with arguments of type LocationPredicateModifier 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
Fields in net.minecraft.loot.condition with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional
<LocationPredicate> LocationCheckLootCondition.predicate
The field for thepredicate
record component.Methods in net.minecraft.loot.condition that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionLocationCheckLootCondition.predicate()
Returns the value of thepredicate
record component.Constructor parameters in net.minecraft.loot.condition with type arguments of type LocationPredicateModifierConstructorDescriptionLocationCheckLootCondition
(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type LocationPredicateModifier 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.Methods in net.minecraft.predicate.entity that return LocationPredicateMethods in net.minecraft.predicate.entity that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionEntityPredicate.location()
Returns the value of thelocation
record component.EntityPredicate.steppingOn()
Returns the value of thesteppingOn
record component.