Interface EntityDetector.Selector

Enclosing interface:
EntityDetector

public static interface EntityDetector.Selector
Mappings:
Namespace Name
named net/minecraft/block/spawner/EntityDetector$Selector
intermediary net/minecraft/class_8962$class_9198
official dsc$a
  • Field Details

    • IN_WORLD

      static final EntityDetector.Selector IN_WORLD
      Mappings:
      Namespace Name Mixin selector
      named IN_WORLD Lnet/minecraft/block/spawner/EntityDetector$Selector;IN_WORLD:Lnet/minecraft/block/spawner/EntityDetector$Selector;
      intermediary field_48862 Lnet/minecraft/class_8962$class_9198;field_48862:Lnet/minecraft/class_8962$class_9198;
      official a Ldsc$a;a:Ldsc$a;
  • Method Details

    • getPlayers

      List<? extends PlayerEntity> getPlayers(ServerWorld world, Predicate<? super PlayerEntity> predicate)
      Mappings:
      Namespace Name Mixin selector
      named getPlayers Lnet/minecraft/block/spawner/EntityDetector$Selector;getPlayers(Lnet/minecraft/server/world/ServerWorld;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_56725 Lnet/minecraft/class_8962$class_9198;method_56725(Lnet/minecraft/class_3218;Ljava/util/function/Predicate;)Ljava/util/List;
      official a Ldsc$a;a(Laqt;Ljava/util/function/Predicate;)Ljava/util/List;
    • getEntities

      <T extends Entity> List<T> getEntities(ServerWorld world, TypeFilter<Entity,T> typeFilter, Box box, Predicate<? super T> predicate)
      Mappings:
      Namespace Name Mixin selector
      named getEntities Lnet/minecraft/block/spawner/EntityDetector$Selector;getEntities(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_56724 Lnet/minecraft/class_8962$class_9198;method_56724(Lnet/minecraft/class_3218;Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
      official a Ldsc$a;a(Laqt;Ldxk;Lewr;Ljava/util/function/Predicate;)Ljava/util/List;
    • ofPlayer

      static EntityDetector.Selector ofPlayer(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named ofPlayer Lnet/minecraft/block/spawner/EntityDetector$Selector;ofPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/block/spawner/EntityDetector$Selector;
      intermediary method_56726 Lnet/minecraft/class_8962$class_9198;method_56726(Lnet/minecraft/class_1657;)Lnet/minecraft/class_8962$class_9198;
      official a Ldsc$a;a(Lcmv;)Ldsc$a;
    • ofPlayers

      static EntityDetector.Selector ofPlayers(List<PlayerEntity> players)
      Mappings:
      Namespace Name Mixin selector
      named ofPlayers Lnet/minecraft/block/spawner/EntityDetector$Selector;ofPlayers(Ljava/util/List;)Lnet/minecraft/block/spawner/EntityDetector$Selector;
      intermediary method_56727 Lnet/minecraft/class_8962$class_9198;method_56727(Ljava/util/List;)Lnet/minecraft/class_8962$class_9198;
      official a Ldsc$a;a(Ljava/util/List;)Ldsc$a;