Uses of Record Class
net.minecraft.advancements.critereon.LocationPredicate
Packages that use LocationPredicate
Package
Description
- 
Uses of LocationPredicate in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type LocationPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LocationPredicate>LocationPredicate.CODECprivate Optional<LocationPredicate>EntityPredicate.Builder.locationprivate final Optional<LocationPredicate>EntityPredicate.locationThe field for thelocationrecord component.private final Optional<LocationPredicate>DistanceTrigger.TriggerInstance.startPositionThe field for thestartPositionrecord component.private Optional<LocationPredicate>EntityPredicate.Builder.steppingOnLocationprivate final Optional<LocationPredicate>EntityPredicate.steppingOnLocationThe field for thesteppingOnLocationrecord component.Methods in net.minecraft.advancements.critereon that return LocationPredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionEntityPredicate.location()Returns the value of thelocationrecord component.private static Optional<LocationPredicate>LocationPredicate.of(Optional<LocationPredicate.PositionPredicate> p_299175_, Optional<ResourceKey<Biome>> p_298741_, Optional<ResourceKey<Structure>> p_298654_, Optional<ResourceKey<Level>> p_298829_, Optional<Boolean> p_299313_, Optional<LightPredicate> p_299195_, Optional<BlockPredicate> p_299295_, Optional<FluidPredicate> p_298350_) DistanceTrigger.TriggerInstance.startPosition()Returns the value of thestartPositionrecord component.EntityPredicate.steppingOnLocation()Returns the value of thesteppingOnLocationrecord component.
- 
Uses of LocationPredicate in net.minecraft.world.level.storage.loot.predicatesFields 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.