Class ChunkStatus

java.lang.Object
net.minecraft.world.chunk.ChunkStatus

public class ChunkStatus extends Object
Mappings:
Namespace Name
named net/minecraft/world/chunk/ChunkStatus
intermediary net/minecraft/class_2806
official duz
  • Field Details

    • field_35470

      public static final int field_35470
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35470 Lnet/minecraft/world/chunk/ChunkStatus;field_35470:I
      intermediary field_35470 Lnet/minecraft/class_2806;field_35470:I
      official a Lduz;a:I
    • PRE_CARVER_HEIGHTMAPS

      private static final EnumSet<Heightmap.Type> PRE_CARVER_HEIGHTMAPS
      Mappings:
      Namespace Name Mixin selector
      named PRE_CARVER_HEIGHTMAPS Lnet/minecraft/world/chunk/ChunkStatus;PRE_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
      intermediary field_19159 Lnet/minecraft/class_2806;field_19159:Ljava/util/EnumSet;
      official o Lduz;o:Ljava/util/EnumSet;
    • POST_CARVER_HEIGHTMAPS

      public static final EnumSet<Heightmap.Type> POST_CARVER_HEIGHTMAPS
      Mappings:
      Namespace Name Mixin selector
      named POST_CARVER_HEIGHTMAPS Lnet/minecraft/world/chunk/ChunkStatus;POST_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
      intermediary field_19160 Lnet/minecraft/class_2806;field_19160:Ljava/util/EnumSet;
      official b Lduz;b:Ljava/util/EnumSet;
    • EMPTY

      public static final ChunkStatus EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/world/chunk/ChunkStatus;EMPTY:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12798 Lnet/minecraft/class_2806;field_12798:Lnet/minecraft/class_2806;
      official c Lduz;c:Lduz;
    • STRUCTURE_STARTS

      public static final ChunkStatus STRUCTURE_STARTS
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE_STARTS Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_STARTS:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_16423 Lnet/minecraft/class_2806;field_16423:Lnet/minecraft/class_2806;
      official d Lduz;d:Lduz;
    • STRUCTURE_REFERENCES

      public static final ChunkStatus STRUCTURE_REFERENCES
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE_REFERENCES Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_REFERENCES:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_16422 Lnet/minecraft/class_2806;field_16422:Lnet/minecraft/class_2806;
      official e Lduz;e:Lduz;
    • BIOMES

      public static final ChunkStatus BIOMES
      Mappings:
      Namespace Name Mixin selector
      named BIOMES Lnet/minecraft/world/chunk/ChunkStatus;BIOMES:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12794 Lnet/minecraft/class_2806;field_12794:Lnet/minecraft/class_2806;
      official f Lduz;f:Lduz;
    • NOISE

      public static final ChunkStatus NOISE
      Mappings:
      Namespace Name Mixin selector
      named NOISE Lnet/minecraft/world/chunk/ChunkStatus;NOISE:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12804 Lnet/minecraft/class_2806;field_12804:Lnet/minecraft/class_2806;
      official g Lduz;g:Lduz;
    • SURFACE

      public static final ChunkStatus SURFACE
      Mappings:
      Namespace Name Mixin selector
      named SURFACE Lnet/minecraft/world/chunk/ChunkStatus;SURFACE:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12796 Lnet/minecraft/class_2806;field_12796:Lnet/minecraft/class_2806;
      official h Lduz;h:Lduz;
    • CARVERS

      public static final ChunkStatus CARVERS
      Mappings:
      Namespace Name Mixin selector
      named CARVERS Lnet/minecraft/world/chunk/ChunkStatus;CARVERS:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12801 Lnet/minecraft/class_2806;field_12801:Lnet/minecraft/class_2806;
      official i Lduz;i:Lduz;
    • FEATURES

      public static final ChunkStatus FEATURES
      Mappings:
      Namespace Name Mixin selector
      named FEATURES Lnet/minecraft/world/chunk/ChunkStatus;FEATURES:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12795 Lnet/minecraft/class_2806;field_12795:Lnet/minecraft/class_2806;
      official j Lduz;j:Lduz;
    • INITIALIZE_LIGHT

      public static final ChunkStatus INITIALIZE_LIGHT
      Mappings:
      Namespace Name Mixin selector
      named INITIALIZE_LIGHT Lnet/minecraft/world/chunk/ChunkStatus;INITIALIZE_LIGHT:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_44633 Lnet/minecraft/class_2806;field_44633:Lnet/minecraft/class_2806;
      official k Lduz;k:Lduz;
    • LIGHT

      public static final ChunkStatus LIGHT
      Mappings:
      Namespace Name Mixin selector
      named LIGHT Lnet/minecraft/world/chunk/ChunkStatus;LIGHT:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12805 Lnet/minecraft/class_2806;field_12805:Lnet/minecraft/class_2806;
      official l Lduz;l:Lduz;
    • SPAWN

      public static final ChunkStatus SPAWN
      Mappings:
      Namespace Name Mixin selector
      named SPAWN Lnet/minecraft/world/chunk/ChunkStatus;SPAWN:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12786 Lnet/minecraft/class_2806;field_12786:Lnet/minecraft/class_2806;
      official m Lduz;m:Lduz;
    • FULL

      public static final ChunkStatus FULL
      Mappings:
      Namespace Name Mixin selector
      named FULL Lnet/minecraft/world/chunk/ChunkStatus;FULL:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_12803 Lnet/minecraft/class_2806;field_12803:Lnet/minecraft/class_2806;
      official n Lduz;n:Lduz;
    • DISTANCE_TO_STATUS

      private static final List<ChunkStatus> DISTANCE_TO_STATUS
      Mappings:
      Namespace Name Mixin selector
      named DISTANCE_TO_STATUS Lnet/minecraft/world/chunk/ChunkStatus;DISTANCE_TO_STATUS:Ljava/util/List;
      intermediary field_12791 Lnet/minecraft/class_2806;field_12791:Ljava/util/List;
      official p Lduz;p:Ljava/util/List;
    • STATUS_TO_DISTANCE

      private static final IntList STATUS_TO_DISTANCE
      Mappings:
      Namespace Name Mixin selector
      named STATUS_TO_DISTANCE Lnet/minecraft/world/chunk/ChunkStatus;STATUS_TO_DISTANCE:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_12788 Lnet/minecraft/class_2806;field_12788:Lit/unimi/dsi/fastutil/ints/IntList;
      official q Lduz;q:Lit/unimi/dsi/fastutil/ints/IntList;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/world/chunk/ChunkStatus;index:I
      intermediary field_16646 Lnet/minecraft/class_2806;field_16646:I
      official r Lduz;r:I
    • previous

      private final ChunkStatus previous
      Mappings:
      Namespace Name Mixin selector
      named previous Lnet/minecraft/world/chunk/ChunkStatus;previous:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_16647 Lnet/minecraft/class_2806;field_16647:Lnet/minecraft/class_2806;
      official s Lduz;s:Lduz;
    • generationTask

      private final ChunkStatus.GenerationTask generationTask
      Mappings:
      Namespace Name Mixin selector
      named generationTask Lnet/minecraft/world/chunk/ChunkStatus;generationTask:Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;
      intermediary field_12792 Lnet/minecraft/class_2806;field_12792:Lnet/minecraft/class_2806$class_2807;
      official t Lduz;t:Lduz$a;
    • loadTask

      private final ChunkStatus.LoadTask loadTask
      Mappings:
      Namespace Name Mixin selector
      named loadTask Lnet/minecraft/world/chunk/ChunkStatus;loadTask:Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;
      intermediary field_19346 Lnet/minecraft/class_2806;field_19346:Lnet/minecraft/class_2806$class_4305;
      official u Lduz;u:Lduz$b;
    • taskMargin

      private final int taskMargin
      Mappings:
      Namespace Name Mixin selector
      named taskMargin Lnet/minecraft/world/chunk/ChunkStatus;taskMargin:I
      intermediary field_12802 Lnet/minecraft/class_2806;field_12802:I
      official v Lduz;v:I
    • shouldAlwaysUpgrade

      private final boolean shouldAlwaysUpgrade
      Mappings:
      Namespace Name Mixin selector
      named shouldAlwaysUpgrade Lnet/minecraft/world/chunk/ChunkStatus;shouldAlwaysUpgrade:Z
      intermediary field_44634 Lnet/minecraft/class_2806;field_44634:Z
      official w Lduz;w:Z
    • chunkType

      private final ChunkType chunkType
      Mappings:
      Namespace Name Mixin selector
      named chunkType Lnet/minecraft/world/chunk/ChunkStatus;chunkType:Lnet/minecraft/world/chunk/ChunkType;
      intermediary field_12787 Lnet/minecraft/class_2806;field_12787:Lnet/minecraft/class_2808;
      official x Lduz;x:Ldvb;
    • heightMapTypes

      private final EnumSet<Heightmap.Type> heightMapTypes
      Mappings:
      Namespace Name Mixin selector
      named heightMapTypes Lnet/minecraft/world/chunk/ChunkStatus;heightMapTypes:Ljava/util/EnumSet;
      intermediary field_12793 Lnet/minecraft/class_2806;field_12793:Ljava/util/EnumSet;
      official y Lduz;y:Ljava/util/EnumSet;
  • Constructor Details

    • ChunkStatus

      ChunkStatus(@Nullable @Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/ChunkStatus;<init>(Lnet/minecraft/world/chunk/ChunkStatus;IZLjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)V
      intermediary <init> Lnet/minecraft/class_2806;<init>(Lnet/minecraft/class_2806;IZLjava/util/EnumSet;Lnet/minecraft/class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)V
      official <init> Lduz;<init>(Lduz;IZLjava/util/EnumSet;Ldvb;Lduz$a;Lduz$b;)V
  • Method Details

    • register

      private static ChunkStatus register(String id, @Nullable @Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/world/chunk/ChunkStatus;register(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;IZLjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary method_20611 Lnet/minecraft/class_2806;method_20611(Ljava/lang/String;Lnet/minecraft/class_2806;IZLjava/util/EnumSet;Lnet/minecraft/class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)Lnet/minecraft/class_2806;
      official a Lduz;a(Ljava/lang/String;Lduz;IZLjava/util/EnumSet;Ldvb;Lduz$a;Lduz$b;)Lduz;
    • createOrderedList

      public static List<ChunkStatus> createOrderedList()
      Mappings:
      Namespace Name Mixin selector
      named createOrderedList Lnet/minecraft/world/chunk/ChunkStatus;createOrderedList()Ljava/util/List;
      intermediary method_16558 Lnet/minecraft/class_2806;method_16558()Ljava/util/List;
      official a Lduz;a()Ljava/util/List;
    • byDistanceFromFull

      public static ChunkStatus byDistanceFromFull(int level)
      Mappings:
      Namespace Name Mixin selector
      named byDistanceFromFull Lnet/minecraft/world/chunk/ChunkStatus;byDistanceFromFull(I)Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary method_12161 Lnet/minecraft/class_2806;method_12161(I)Lnet/minecraft/class_2806;
      official a Lduz;a(I)Lduz;
    • getMaxDistanceFromFull

      public static int getMaxDistanceFromFull()
      Mappings:
      Namespace Name Mixin selector
      named getMaxDistanceFromFull Lnet/minecraft/world/chunk/ChunkStatus;getMaxDistanceFromFull()I
      intermediary method_12155 Lnet/minecraft/class_2806;method_12155()I
      official b Lduz;b()I
    • getDistanceFromFull

      public static int getDistanceFromFull(ChunkStatus status)
      Mappings:
      Namespace Name Mixin selector
      named getDistanceFromFull Lnet/minecraft/world/chunk/ChunkStatus;getDistanceFromFull(Lnet/minecraft/world/chunk/ChunkStatus;)I
      intermediary method_12175 Lnet/minecraft/class_2806;method_12175(Lnet/minecraft/class_2806;)I
      official a Lduz;a(Lduz;)I
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/world/chunk/ChunkStatus;getIndex()I
      intermediary method_16559 Lnet/minecraft/class_2806;method_16559()I
      official c Lduz;c()I
    • getPrevious

      public ChunkStatus getPrevious()
      Mappings:
      Namespace Name Mixin selector
      named getPrevious Lnet/minecraft/world/chunk/ChunkStatus;getPrevious()Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary method_16560 Lnet/minecraft/class_2806;method_16560()Lnet/minecraft/class_2806;
      official d Lduz;d()Lduz;
    • runGenerationTask

      public CompletableFuture<Chunk> runGenerationTask(ChunkGenerationContext context, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks)
      Mappings:
      Namespace Name Mixin selector
      named runGenerationTask Lnet/minecraft/world/chunk/ChunkStatus;runGenerationTask(Lnet/minecraft/world/chunk/ChunkGenerationContext;Ljava/util/concurrent/Executor;Lnet/minecraft/world/chunk/FullChunkConverter;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_12154 Lnet/minecraft/class_2806;method_12154(Lnet/minecraft/class_9312;Ljava/util/concurrent/Executor;Lnet/minecraft/class_9311;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      official a Lduz;a(Ldvd;Ljava/util/concurrent/Executor;Ldvc;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
    • runLoadTask

      public CompletableFuture<Chunk> runLoadTask(ChunkGenerationContext context, FullChunkConverter fullChunkConverter, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named runLoadTask Lnet/minecraft/world/chunk/ChunkStatus;runLoadTask(Lnet/minecraft/world/chunk/ChunkGenerationContext;Lnet/minecraft/world/chunk/FullChunkConverter;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_20612 Lnet/minecraft/class_2806;method_20612(Lnet/minecraft/class_9312;Lnet/minecraft/class_9311;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
      official a Lduz;a(Ldvd;Ldvc;Ldua;)Ljava/util/concurrent/CompletableFuture;
    • getTaskMargin

      public int getTaskMargin()
      Mappings:
      Namespace Name Mixin selector
      named getTaskMargin Lnet/minecraft/world/chunk/ChunkStatus;getTaskMargin()I
      intermediary method_12152 Lnet/minecraft/class_2806;method_12152()I
      official e Lduz;e()I
    • shouldAlwaysUpgrade

      public boolean shouldAlwaysUpgrade()
      Mappings:
      Namespace Name Mixin selector
      named shouldAlwaysUpgrade Lnet/minecraft/world/chunk/ChunkStatus;shouldAlwaysUpgrade()Z
      intermediary method_51378 Lnet/minecraft/class_2806;method_51378()Z
      official f Lduz;f()Z
    • getChunkType

      public ChunkType getChunkType()
      Mappings:
      Namespace Name Mixin selector
      named getChunkType Lnet/minecraft/world/chunk/ChunkStatus;getChunkType()Lnet/minecraft/world/chunk/ChunkType;
      intermediary method_12164 Lnet/minecraft/class_2806;method_12164()Lnet/minecraft/class_2808;
      official g Lduz;g()Ldvb;
    • byId

      public static ChunkStatus byId(String id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/world/chunk/ChunkStatus;byId(Ljava/lang/String;)Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary method_12168 Lnet/minecraft/class_2806;method_12168(Ljava/lang/String;)Lnet/minecraft/class_2806;
      official a Lduz;a(Ljava/lang/String;)Lduz;
    • getHeightmapTypes

      public EnumSet<Heightmap.Type> getHeightmapTypes()
      Mappings:
      Namespace Name Mixin selector
      named getHeightmapTypes Lnet/minecraft/world/chunk/ChunkStatus;getHeightmapTypes()Ljava/util/EnumSet;
      intermediary method_12160 Lnet/minecraft/class_2806;method_12160()Ljava/util/EnumSet;
      official h Lduz;h()Ljava/util/EnumSet;
    • isAtLeast

      public boolean isAtLeast(ChunkStatus chunkStatus)
      Mappings:
      Namespace Name Mixin selector
      named isAtLeast Lnet/minecraft/world/chunk/ChunkStatus;isAtLeast(Lnet/minecraft/world/chunk/ChunkStatus;)Z
      intermediary method_12165 Lnet/minecraft/class_2806;method_12165(Lnet/minecraft/class_2806;)Z
      official b Lduz;b(Lduz;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object