Class ThrottledChunkTaskScheduler

java.lang.Object
net.minecraft.server.world.ChunkTaskScheduler
net.minecraft.server.world.ThrottledChunkTaskScheduler
All Implemented Interfaces:
AutoCloseable, ChunkHolder.LevelUpdateListener

public class ThrottledChunkTaskScheduler extends ChunkTaskScheduler
Mappings:
Namespace Name
named net/minecraft/server/world/ThrottledChunkTaskScheduler
intermediary net/minecraft/class_10173
official asl
  • Field Details

    • chunks

      private final LongSet chunks
      Mappings:
      Namespace Name Mixin selector
      named chunks Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;chunks:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_54051 Lnet/minecraft/class_10173;field_54051:Lit/unimi/dsi/fastutil/longs/LongSet;
      official c Lasl;c:Lit/unimi/dsi/fastutil/longs/LongSet;
    • maxConcurrentChunks

      private final int maxConcurrentChunks
      Mappings:
      Namespace Name Mixin selector
      named maxConcurrentChunks Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;maxConcurrentChunks:I
      intermediary field_54052 Lnet/minecraft/class_10173;field_54052:I
      official d Lasl;d:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;name:Ljava/lang/String;
      intermediary field_54053 Lnet/minecraft/class_10173;field_54053:Ljava/lang/String;
      official e Lasl;e:Ljava/lang/String;
  • Constructor Details

    • ThrottledChunkTaskScheduler

      public ThrottledChunkTaskScheduler(TaskExecutor<Runnable> executor, Executor dispatchExecutor, int maxConcurrentChunks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;<init>(Lnet/minecraft/util/thread/TaskExecutor;Ljava/util/concurrent/Executor;I)V
      intermediary <init> Lnet/minecraft/class_10173;<init>(Lnet/minecraft/class_10178;Ljava/util/concurrent/Executor;I)V
      official <init> Lasl;<init>(Lbsd;Ljava/util/concurrent/Executor;I)V
  • Method Details

    • onRemove

      protected void onRemove(long chunkPos)
      Overrides:
      onRemove in class ChunkTaskScheduler
      Mappings:
      Namespace Name Mixin selector
      named onRemove Lnet/minecraft/server/world/ChunkTaskScheduler;onRemove(J)V
      intermediary method_63548 Lnet/minecraft/class_10171;method_63548(J)V
      official a Laro;a(J)V
    • poll

      Overrides:
      poll in class ChunkTaskScheduler
      Mappings:
      Namespace Name Mixin selector
      named poll Lnet/minecraft/server/world/ChunkTaskScheduler;poll()Lnet/minecraft/server/world/LevelPrioritizedQueue$Entry;
      intermediary method_63559 Lnet/minecraft/class_10171;method_63559()Lnet/minecraft/class_3899$class_10172;
      official c Laro;c()Larp$a;
    • schedule

      protected void schedule(LevelPrioritizedQueue.Entry entry)
      Overrides:
      schedule in class ChunkTaskScheduler
      Mappings:
      Namespace Name Mixin selector
      named schedule Lnet/minecraft/server/world/ChunkTaskScheduler;schedule(Lnet/minecraft/server/world/LevelPrioritizedQueue$Entry;)V
      intermediary method_63551 Lnet/minecraft/class_10171;method_63551(Lnet/minecraft/class_3899$class_10172;)V
      official a Laro;a(Larp$a;)V
    • toDumpString

      public String toDumpString()
      Mappings:
      Namespace Name Mixin selector
      named toDumpString Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;toDumpString()Ljava/lang/String;
      intermediary method_63565 Lnet/minecraft/class_10173;method_63565()Ljava/lang/String;
      official d Lasl;d()Ljava/lang/String;