Interface EntityDetector


public interface EntityDetector
Mappings:
Namespace Name
named net/minecraft/block/spawner/EntityDetector
intermediary net/minecraft/class_8962
official dse
  • Field Details

    • SURVIVAL_PLAYERS

      static final EntityDetector 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 Ldse;a:Ldse;
    • NON_SPECTATOR_PLAYERS

      static final EntityDetector 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 Ldse;b:Ldse;
    • SHEEP

      static final EntityDetector 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 Ldse;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 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 Ldse;detect(Laqu;Ldse$a;Ljd;DZ)Ljava/util/List;
    • hasLineOfSight

      private static boolean hasLineOfSight(World world, Vec3d pos, Vec3d entityEyePos)
      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 Ldse;a(Ldcw;Lexc;Lexc;)Z