Package net.minecraft.world
Interface EntityLookupView
- All Superinterfaces:
EntityView
- All Known Implementing Classes:
ServerWorld
- Mappings:
Namespace Name named net/minecraft/world/EntityLookupViewintermediary net/minecraft/class_10245official aww
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
TgetClosestEntity(Class<? extends T> clazz, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box) default <T extends LivingEntity>
TgetClosestEntity(List<? extends T> entities, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z) default @Nullable LivingEntitygetClosestEntity(TagKey<EntityType<?>> type, TargetPredicate predicate, @Nullable LivingEntity target, double x, double y, double z, Box box) default @Nullable PlayerEntitygetClosestPlayer(TargetPredicate targetPredicate, double x, double y, double z) default @Nullable PlayerEntitygetClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity) default @Nullable PlayerEntitygetClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity, double x, double y, double z) default List<PlayerEntity> getPlayers(TargetPredicate targetPredicate, LivingEntity entity, Box box) default <T extends LivingEntity>
List<T> getTargets(Class<T> clazz, TargetPredicate targetPredicate, LivingEntity entity, Box box) Methods inherited from interface net.minecraft.world.EntityView
doesNotIntersectEntities, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getEntityCollisions, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, isPlayerInRange
-
Method Details
-
toServerWorld
ServerWorld toServerWorld()- Mappings:
Namespace Name Mixin selector named toServerWorldLnet/minecraft/world/EntityLookupView;toServerWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_8410Lnet/minecraft/class_10245;method_8410()Lnet/minecraft/class_3218;official aLaww;a()Lawx;
-
getClosestPlayer
@Nullable default @Nullable PlayerEntity getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity) - Mappings:
Namespace Name Mixin selector named getClosestPlayerLnet/minecraft/world/EntityLookupView;getClosestPlayer(Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/player/PlayerEntity;intermediary method_64388Lnet/minecraft/class_10245;method_64388(Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;)Lnet/minecraft/class_1657;official aLaww;a(Lcpp;Lcew;)Lczl;
-
getClosestPlayer
@Nullable default @Nullable PlayerEntity getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity, double x, double y, double z) - Mappings:
Namespace Name Mixin selector named getClosestPlayerLnet/minecraft/world/EntityLookupView;getClosestPlayer(Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;DDD)Lnet/minecraft/entity/player/PlayerEntity;intermediary method_64389Lnet/minecraft/class_10245;method_64389(Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;DDD)Lnet/minecraft/class_1657;official aLaww;a(Lcpp;Lcew;DDD)Lczl;
-
getClosestPlayer
@Nullable default @Nullable PlayerEntity getClosestPlayer(TargetPredicate targetPredicate, double x, double y, double z) - Mappings:
Namespace Name Mixin selector named getClosestPlayerLnet/minecraft/world/EntityLookupView;getClosestPlayer(Lnet/minecraft/entity/ai/TargetPredicate;DDD)Lnet/minecraft/entity/player/PlayerEntity;intermediary method_64387Lnet/minecraft/class_10245;method_64387(Lnet/minecraft/class_4051;DDD)Lnet/minecraft/class_1657;official aLaww;a(Lcpp;DDD)Lczl;
-
getClosestEntity
@Nullable default <T extends LivingEntity> T getClosestEntity(Class<? extends T> clazz, TargetPredicate targetPredicate, @Nullable @Nullable LivingEntity entity, double x, double y, double z, Box box) - Mappings:
Namespace Name Mixin selector named getClosestEntityLnet/minecraft/world/EntityLookupView;getClosestEntity(Ljava/lang/Class;Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;DDDLnet/minecraft/util/math/Box;)Lnet/minecraft/entity/LivingEntity;intermediary method_64391Lnet/minecraft/class_10245;method_64391(Ljava/lang/Class;Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;DDDLnet/minecraft/class_238;)Lnet/minecraft/class_1309;official aLaww;a(Ljava/lang/Class;Lcpp;Lcew;DDDLfoc;)Lcew;
-
getClosestEntity
@Nullable default @Nullable LivingEntity getClosestEntity(TagKey<EntityType<?>> type, TargetPredicate predicate, @Nullable @Nullable LivingEntity target, double x, double y, double z, Box box) - Mappings:
Namespace Name Mixin selector named getClosestEntityLnet/minecraft/world/EntityLookupView;getClosestEntity(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;DDDLnet/minecraft/util/math/Box;)Lnet/minecraft/entity/LivingEntity;intermediary method_73182Lnet/minecraft/class_10245;method_73182(Lnet/minecraft/class_6862;Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;DDDLnet/minecraft/class_238;)Lnet/minecraft/class_1309;official aLaww;a(Lbdj;Lcpp;Lcew;DDDLfoc;)Lcew;
-
getClosestEntity
@Nullable default <T extends LivingEntity> T getClosestEntity(List<? extends T> entities, TargetPredicate targetPredicate, @Nullable @Nullable LivingEntity entity, double x, double y, double z) - Mappings:
Namespace Name Mixin selector named getClosestEntityLnet/minecraft/world/EntityLookupView;getClosestEntity(Ljava/util/List;Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;DDD)Lnet/minecraft/entity/LivingEntity;intermediary method_64393Lnet/minecraft/class_10245;method_64393(Ljava/util/List;Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;DDD)Lnet/minecraft/class_1309;official aLaww;a(Ljava/util/List;Lcpp;Lcew;DDD)Lcew;
-
getPlayers
default List<PlayerEntity> getPlayers(TargetPredicate targetPredicate, LivingEntity entity, Box box) - Mappings:
Namespace Name Mixin selector named getPlayersLnet/minecraft/world/EntityLookupView;getPlayers(Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Box;)Ljava/util/List;intermediary method_64390Lnet/minecraft/class_10245;method_64390(Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;Lnet/minecraft/class_238;)Ljava/util/List;official aLaww;a(Lcpp;Lcew;Lfoc;)Ljava/util/List;
-
getTargets
default <T extends LivingEntity> List<T> getTargets(Class<T> clazz, TargetPredicate targetPredicate, LivingEntity entity, Box box) - Mappings:
Namespace Name Mixin selector named getTargetsLnet/minecraft/world/EntityLookupView;getTargets(Ljava/lang/Class;Lnet/minecraft/entity/ai/TargetPredicate;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Box;)Ljava/util/List;intermediary method_64392Lnet/minecraft/class_10245;method_64392(Ljava/lang/Class;Lnet/minecraft/class_4051;Lnet/minecraft/class_1309;Lnet/minecraft/class_238;)Ljava/util/List;official aLaww;a(Ljava/lang/Class;Lcpp;Lcew;Lfoc;)Ljava/util/List;
-