Class EntityTrackingSection<T>

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

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

    • LOGGER

      protected static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcog;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_27247 Lnet/minecraft/class_5572;field_27247:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/entity/EntityTrackingSection;LOGGER:Lorg/apache/logging/log4j/Logger;
    • collection

      private final TypeFilterableList<T> collection
      Mappings:
      Namespace Name Mixin selector
      official b Lcog;b:Lagh;
      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 Lcog;c:Lcoq;
      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> Lcog;<init>(Ljava/lang/Class;Lcoq;)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 obj)
      Mappings:
      Namespace Name Mixin selector
      official a Lcog;a(Ljava/lang/Object;)V
      intermediary method_31764 Lnet/minecraft/class_5572;method_31764(Ljava/lang/Object;)V
      named add Lnet/minecraft/world/entity/EntityTrackingSection;add(Ljava/lang/Object;)V
    • remove

      public boolean remove(T obj)
      Mappings:
      Namespace Name Mixin selector
      official b Lcog;b(Ljava/lang/Object;)Z
      intermediary method_31767 Lnet/minecraft/class_5572;method_31767(Ljava/lang/Object;)Z
      named remove Lnet/minecraft/world/entity/EntityTrackingSection;remove(Ljava/lang/Object;)Z
    • forEach

      public void forEach(Predicate<? super T> predicate, Consumer<T> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lcog;a(Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
      intermediary method_31765 Lnet/minecraft/class_5572;method_31765(Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
    • forEach

      public <U extends T> void forEach(TypeFilter<T,U> type, Predicate<? super U> filter, Consumer<? super U> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lcog;a(Lcoj;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
      intermediary method_31762 Lnet/minecraft/class_5572;method_31762(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/world/entity/EntityTrackingSection;forEach(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
    • isEmpty

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