Uses of Class
net.minecraft.predicate.entity.LocationPredicate
| Package | Description |
|---|---|
| net.minecraft.advancement.criterion | |
| net.minecraft.loot.condition | |
| net.minecraft.predicate.entity |
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion declared as LocationPredicate Modifier and Type Field Description private LocationPredicateNetherTravelCriterion.Conditions. enteredPosprivate LocationPredicateNetherTravelCriterion.Conditions. exitedPosprivate LocationPredicateItemUsedOnBlockCriterion.Conditions. locationprivate LocationPredicateLocationArrivalCriterion.Conditions. locationprivate LocationPredicatePlacedBlockCriterion.Conditions. locationMethods in net.minecraft.advancement.criterion with parameters of type LocationPredicate Modifier and Type Method Description static LocationArrivalCriterion.ConditionsLocationArrivalCriterion.Conditions. create(LocationPredicate location)Constructors in net.minecraft.advancement.criterion with parameters of type LocationPredicate Constructor Description Conditions(EntityPredicate.Extended player, LocationPredicate location, ItemPredicate item)Conditions(Identifier id, EntityPredicate.Extended player, LocationPredicate location)Conditions(EntityPredicate.Extended player, LocationPredicate enteredPos, LocationPredicate exitedPos, DistancePredicate distance)Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item) -
Uses of LocationPredicate in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as LocationPredicate Modifier and Type Field Description private LocationPredicateLocationCheckLootCondition. predicateConstructors in net.minecraft.loot.condition with parameters of type LocationPredicate Constructor Description LocationCheckLootCondition(LocationPredicate predicate, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as LocationPredicate Modifier and Type Field Description static LocationPredicateLocationPredicate. ANYprivate LocationPredicateEntityPredicate.Builder. locationprivate LocationPredicateEntityPredicate. locationMethods in net.minecraft.predicate.entity that return LocationPredicate Modifier and Type Method Description static LocationPredicateLocationPredicate. biome(RegistryKey<Biome> biome)LocationPredicateLocationPredicate.Builder. build()static LocationPredicateLocationPredicate. dimension(RegistryKey<World> dimension)static LocationPredicateLocationPredicate. feature(StructureFeature<?> feature)static LocationPredicateLocationPredicate. fromJson(@Nullable JsonElement json)Methods in net.minecraft.predicate.entity with parameters of type LocationPredicate Modifier and Type Method Description EntityPredicate.BuilderEntityPredicate.Builder. location(LocationPredicate location)Constructors in net.minecraft.predicate.entity with parameters of type LocationPredicate Constructor Description EntityPredicate(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, @Nullable String team, @Nullable Identifier catType)EntityPredicate(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, EntityPredicate vehicle, EntityPredicate targetedEntity, @Nullable String team, @Nullable Identifier catType)