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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lczg;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 Lczg;b:Lalg;
      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 Lczg;c:Lczp;
      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> Lczg;<init>(Ljava/lang/Class;Lczp;)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 Lczg;a(Lczc;)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 Lczg;b(Lczc;)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

      public void forEach(Box box, Consumer<T> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lczg;a(Ldwl;Ljava/util/function/Consumer;)V
      intermediary method_31765 Lnet/minecraft/class_5572;method_31765(Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Lnet/minecraft/util/math/Box;Ljava/util/function/Consumer;)V
    • forEach

      public <U extends T> void forEach(TypeFilter<T,U> type, Box box, Consumer<? super U> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lczg;a(Lczj;Ldwl;Ljava/util/function/Consumer;)V
      intermediary method_31762 Lnet/minecraft/class_5572;method_31762(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Consumer;)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official a Lczg;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 Lczg;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 Lczg;c()Lczp;
      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 Lczg;a(Lczp;)Lczp;
      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 Lczg;d()I
      intermediary method_31769 Lnet/minecraft/class_5572;method_31769()I
      named size Lnet/minecraft/world/entity/EntityTrackingSection;size()I