Class EntityTrackingSection<T extends EntityLike>

java.lang.Object
net.minecraft.world.entity.EntityTrackingSection<T>

public class EntityTrackingSection<T extends EntityLike> extends Object
A collection of entities tracked within a chunk section.
Mappings:
Namespace Name
named net/minecraft/world/entity/EntityTrackingSection
intermediary net/minecraft/class_5572
official dwh
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/entity/EntityTrackingSection;LOGGER:Lorg/slf4j/Logger;
      intermediary field_27247 Lnet/minecraft/class_5572;field_27247:Lorg/slf4j/Logger;
      official a Ldwh;a:Lorg/slf4j/Logger;
    • collection

      private final TypeFilterableList<T extends EntityLike> collection
      Mappings:
      Namespace Name Mixin selector
      named collection Lnet/minecraft/world/entity/EntityTrackingSection;collection:Lnet/minecraft/util/collection/TypeFilterableList;
      intermediary field_27248 Lnet/minecraft/class_5572;field_27248:Lnet/minecraft/class_3509;
      official b Ldwh;b:Laxq;
    • status

      private EntityTrackingStatus status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/world/entity/EntityTrackingSection;status:Lnet/minecraft/world/entity/EntityTrackingStatus;
      intermediary field_27249 Lnet/minecraft/class_5572;field_27249:Lnet/minecraft/class_5584;
      official c Ldwh;c:Ldwq;
  • Constructor Details

    • EntityTrackingSection

      public EntityTrackingSection(Class<T> entityClass, EntityTrackingStatus status)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/entity/EntityTrackingSection;<init>(Ljava/lang/Class;Lnet/minecraft/world/entity/EntityTrackingStatus;)V
      intermediary <init> Lnet/minecraft/class_5572;<init>(Ljava/lang/Class;Lnet/minecraft/class_5584;)V
      official <init> Ldwh;<init>(Ljava/lang/Class;Ldwq;)V
  • Method Details

    • add

      public void add(T entity)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/world/entity/EntityTrackingSection;add(Lnet/minecraft/world/entity/EntityLike;)V
      intermediary method_31764 Lnet/minecraft/class_5572;method_31764(Lnet/minecraft/class_5568;)V
      official a Ldwh;a(Ldwd;)V
    • remove

      public boolean remove(T entity)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/world/entity/EntityTrackingSection;remove(Lnet/minecraft/world/entity/EntityLike;)Z
      intermediary method_31767 Lnet/minecraft/class_5572;method_31767(Lnet/minecraft/class_5568;)Z
      official b Ldwh;b(Ldwd;)Z
    • forEach

      Mappings:
      Namespace Name Mixin selector
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Lnet/minecraft/util/math/Box;Lnet/minecraft/util/function/LazyIterationConsumer;)Lnet/minecraft/util/function/LazyIterationConsumer$NextIteration;
      intermediary method_31765 Lnet/minecraft/class_5572;method_31765(Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
      official a Ldwh;a(Levn;Laxl;)Laxl$a;
    • forEach

      public <U extends T> LazyIterationConsumer.NextIteration forEach(TypeFilter<T,U> type, Box box, LazyIterationConsumer<? super U> consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Lnet/minecraft/util/function/LazyIterationConsumer;)Lnet/minecraft/util/function/LazyIterationConsumer$NextIteration;
      intermediary method_31762 Lnet/minecraft/class_5572;method_31762(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
      official a Ldwh;a(Ldwk;Levn;Laxl;)Laxl$a;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/world/entity/EntityTrackingSection;isEmpty()Z
      intermediary method_31761 Lnet/minecraft/class_5572;method_31761()Z
      official a Ldwh;a()Z
    • stream

      public Stream<T> stream()
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/world/entity/EntityTrackingSection;stream()Ljava/util/stream/Stream;
      intermediary method_31766 Lnet/minecraft/class_5572;method_31766()Ljava/util/stream/Stream;
      official b Ldwh;b()Ljava/util/stream/Stream;
    • getStatus

      public EntityTrackingStatus getStatus()
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/world/entity/EntityTrackingSection;getStatus()Lnet/minecraft/world/entity/EntityTrackingStatus;
      intermediary method_31768 Lnet/minecraft/class_5572;method_31768()Lnet/minecraft/class_5584;
      official c Ldwh;c()Ldwq;
    • swapStatus

      public EntityTrackingStatus swapStatus(EntityTrackingStatus status)
      Mappings:
      Namespace Name Mixin selector
      named swapStatus Lnet/minecraft/world/entity/EntityTrackingSection;swapStatus(Lnet/minecraft/world/entity/EntityTrackingStatus;)Lnet/minecraft/world/entity/EntityTrackingStatus;
      intermediary method_31763 Lnet/minecraft/class_5572;method_31763(Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
      official a Ldwh;a(Ldwq;)Ldwq;
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/world/entity/EntityTrackingSection;size()I
      intermediary method_31769 Lnet/minecraft/class_5572;method_31769()I
      official d Ldwh;d()I