Uses of Class
net.minecraft.predicate.entity.LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final LocationPredicate
ItemUsedOnBlockCriterion.Conditions.location
private final LocationPredicate
LocationArrivalCriterion.Conditions.location
private final LocationPredicate
PlacedBlockCriterion.Conditions.location
private final LocationPredicate
TravelCriterion.Conditions.startPos
Modifier and TypeMethodDescriptionLocationArrivalCriterion.Conditions.create
(LocationPredicate location) static TravelCriterion.Conditions
TravelCriterion.Conditions.fallFromHeight
(EntityPredicate.Builder entity, DistancePredicate distance, LocationPredicate startPos) ModifierConstructorDescriptionConditions
(EntityPredicate.Extended player, LocationPredicate location, ItemPredicate item) Conditions
(Identifier id, EntityPredicate.Extended player, LocationPredicate location) Conditions
(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item) Conditions
(Identifier id, EntityPredicate.Extended entity, LocationPredicate startPos, DistancePredicate distance) -
Uses of LocationPredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescription(package private) final LocationPredicate
LocationCheckLootCondition.predicate
ModifierConstructorDescription(package private)
LocationCheckLootCondition
(LocationPredicate predicate, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final LocationPredicate
LocationPredicate.ANY
private LocationPredicate
EntityPredicate.Builder.location
private final LocationPredicate
EntityPredicate.location
private LocationPredicate
EntityPredicate.Builder.steppingOn
private final LocationPredicate
EntityPredicate.steppingOn
Modifier and TypeMethodDescriptionstatic LocationPredicate
LocationPredicate.biome
(RegistryKey<Biome> biome) LocationPredicate.Builder.build()
static LocationPredicate
LocationPredicate.dimension
(RegistryKey<World> dimension) static LocationPredicate
LocationPredicate.feature
(RegistryKey<ConfiguredStructureFeature<?, ?>> feature) static LocationPredicate
LocationPredicate.fromJson
(@Nullable JsonElement json) static LocationPredicate
LocationPredicate.y
(NumberRange.FloatRange y) Modifier and TypeMethodDescriptionEntityPredicate.Builder.location
(LocationPredicate location) EntityPredicate.Builder.steppingOn
(LocationPredicate location) ModifierConstructorDescriptionprivate
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, @Nullable String team, @Nullable Identifier catType) (package private)
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, @Nullable String team, @Nullable Identifier catType)