Package net.minecraft.block.spawner
Interface EntityDetector
public interface EntityDetector
- Mappings:
Namespace Name named net/minecraft/block/spawner/EntityDetectorintermediary net/minecraft/class_8962official dse
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntityDetectorstatic final EntityDetectorstatic final EntityDetector -
Method Summary
Modifier and TypeMethodDescriptiondetect(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) private static booleanhasLineOfSight(World world, Vec3d pos, Vec3d entityEyePos)
-
Field Details
-
SURVIVAL_PLAYERS
- Mappings:
Namespace Name Mixin selector named SURVIVAL_PLAYERSLnet/minecraft/block/spawner/EntityDetector;SURVIVAL_PLAYERS:Lnet/minecraft/block/spawner/EntityDetector;intermediary field_48860Lnet/minecraft/class_8962;field_48860:Lnet/minecraft/class_8962;official aLdse;a:Ldse;
-
NON_SPECTATOR_PLAYERS
- Mappings:
Namespace Name Mixin selector named NON_SPECTATOR_PLAYERSLnet/minecraft/block/spawner/EntityDetector;NON_SPECTATOR_PLAYERS:Lnet/minecraft/block/spawner/EntityDetector;intermediary field_48861Lnet/minecraft/class_8962;field_48861:Lnet/minecraft/class_8962;official bLdse;b:Ldse;
-
SHEEP
- Mappings:
Namespace Name Mixin selector named SHEEPLnet/minecraft/block/spawner/EntityDetector;SHEEP:Lnet/minecraft/block/spawner/EntityDetector;intermediary field_47357Lnet/minecraft/class_8962;field_47357:Lnet/minecraft/class_8962;official cLdse;c:Ldse;
-
-
Method Details
-
detect
List<UUID> detect(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) - Mappings:
Namespace Name Mixin selector named detectLnet/minecraft/block/spawner/EntityDetector;detect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/spawner/EntityDetector$Selector;Lnet/minecraft/util/math/BlockPos;DZ)Ljava/util/List;intermediary detectLnet/minecraft/class_8962;detect(Lnet/minecraft/class_3218;Lnet/minecraft/class_8962$class_9198;Lnet/minecraft/class_2338;DZ)Ljava/util/List;official detectLdse;detect(Laqu;Ldse$a;Ljd;DZ)Ljava/util/List;
-
hasLineOfSight
- Mappings:
Namespace Name Mixin selector named hasLineOfSightLnet/minecraft/block/spawner/EntityDetector;hasLineOfSight(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Zintermediary method_58696Lnet/minecraft/class_8962;method_58696(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Zofficial aLdse;a(Ldcw;Lexc;Lexc;)Z
-