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
official dje
intermediary net/minecraft/class_5572
named net/minecraft/world/entity/EntityTrackingSection
  • Field Details

    • LOGGER

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

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

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

    • EntityTrackingSection

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

    • add

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

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

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

      public <U extends T> LazyIterationConsumer.NextIteration forEach(TypeFilter<T,U> type, Box box, LazyIterationConsumer<? super U> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Ldje;a(Ldjh;Lehi;Laqn;)Laqn$a;
      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;
      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;
    • isEmpty

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

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

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

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

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