Package net.minecraft.block.spawner
Interface EntityDetector
public interface EntityDetector
- Mappings:
Namespace Name named net/minecraft/block/spawner/EntityDetector
intermediary net/minecraft/class_8962
official drg
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityDetector
static final EntityDetector
static final EntityDetector
-
Method Summary
Modifier and TypeMethodDescriptiondetect
(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) private static boolean
hasLineOfSight
(World world, Vec3d pos, Vec3d entityEyePos)
-
Field Details
-
SURVIVAL_PLAYERS
- Mappings:
Namespace Name Mixin selector named SURVIVAL_PLAYERS
Lnet/minecraft/block/spawner/EntityDetector;SURVIVAL_PLAYERS:Lnet/minecraft/block/spawner/EntityDetector;
intermediary field_48860
Lnet/minecraft/class_8962;field_48860:Lnet/minecraft/class_8962;
official a
Ldrg;a:Ldrg;
-
NON_SPECTATOR_PLAYERS
- Mappings:
Namespace Name Mixin selector named NON_SPECTATOR_PLAYERS
Lnet/minecraft/block/spawner/EntityDetector;NON_SPECTATOR_PLAYERS:Lnet/minecraft/block/spawner/EntityDetector;
intermediary field_48861
Lnet/minecraft/class_8962;field_48861:Lnet/minecraft/class_8962;
official b
Ldrg;b:Ldrg;
-
SHEEP
- Mappings:
Namespace Name Mixin selector named SHEEP
Lnet/minecraft/block/spawner/EntityDetector;SHEEP:Lnet/minecraft/block/spawner/EntityDetector;
intermediary field_47357
Lnet/minecraft/class_8962;field_47357:Lnet/minecraft/class_8962;
official c
Ldrg;c:Ldrg;
-
-
Method Details
-
detect
List<UUID> detect(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) - Mappings:
Namespace Name Mixin selector named detect
Lnet/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 detect
Lnet/minecraft/class_8962;detect(Lnet/minecraft/class_3218;Lnet/minecraft/class_8962$class_9198;Lnet/minecraft/class_2338;DZ)Ljava/util/List;
official detect
Ldrg;detect(Larf;Ldrg$a;Liz;DZ)Ljava/util/List;
-
hasLineOfSight
- Mappings:
Namespace Name Mixin selector named hasLineOfSight
Lnet/minecraft/block/spawner/EntityDetector;hasLineOfSight(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_58696
Lnet/minecraft/class_8962;method_58696(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z
official a
Ldrg;a(Ldca;Levt;Levt;)Z
-