Record Class ChunkGenerationStep

java.lang.Object
java.lang.Record
net.minecraft.world.chunk.ChunkGenerationStep
Record Components:
targetStatus -
directDependencies -
accumulatedDependencies -
blockStateWriteRadius -
task -

public record ChunkGenerationStep(ChunkStatus targetStatus, GenerationDependencies directDependencies, GenerationDependencies accumulatedDependencies, int blockStateWriteRadius, GenerationTask task) extends Record
Mappings:
Namespace Name
named net/minecraft/world/chunk/ChunkGenerationStep
intermediary net/minecraft/class_9770
official dwc
named targetStatus
intermediary comp_2803
official a
named directDependencies
intermediary comp_2804
official b
named accumulatedDependencies
intermediary comp_2805
official c
named blockStateWriteRadius
intermediary comp_2806
official d
named task
intermediary comp_2807
official e
  • Field Details

  • Constructor Details

  • Method Details

    • getAdditionalLevel

      public int getAdditionalLevel(ChunkStatus status)
      Mappings:
      Namespace Name Mixin selector
      named getAdditionalLevel Lnet/minecraft/world/chunk/ChunkGenerationStep;getAdditionalLevel(Lnet/minecraft/world/chunk/ChunkStatus;)I
      intermediary method_60559 Lnet/minecraft/class_9770;method_60559(Lnet/minecraft/class_2806;)I
      official a Ldwc;a(Ldvz;)I
    • run

      public CompletableFuture<Chunk> run(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/world/chunk/ChunkGenerationStep;run(Lnet/minecraft/world/chunk/ChunkGenerationContext;Lnet/minecraft/util/collection/BoundedRegionArray;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_60560 Lnet/minecraft/class_9770;method_60560(Lnet/minecraft/class_9312;Lnet/minecraft/class_9762;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
      official a Ldwc;a(Ldwe;Lazi;Lduy;)Ljava/util/concurrent/CompletableFuture;
    • finalizeGeneration

      private Chunk finalizeGeneration(Chunk chunk, @Nullable @Nullable Finishable finishCallback)
      Mappings:
      Namespace Name Mixin selector
      named finalizeGeneration Lnet/minecraft/world/chunk/ChunkGenerationStep;finalizeGeneration(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/function/Finishable;)Lnet/minecraft/world/chunk/Chunk;
      intermediary method_60558 Lnet/minecraft/class_9770;method_60558(Lnet/minecraft/class_2791;Lnet/minecraft/class_6613;)Lnet/minecraft/class_2791;
      official a Ldwc;a(Lduy;Lbno;)Lduy;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • targetStatus

      public ChunkStatus targetStatus()
      Returns the value of the targetStatus record component.
      Returns:
      the value of the targetStatus record component
    • directDependencies

      public GenerationDependencies directDependencies()
      Returns the value of the directDependencies record component.
      Returns:
      the value of the directDependencies record component
    • accumulatedDependencies

      public GenerationDependencies accumulatedDependencies()
      Returns the value of the accumulatedDependencies record component.
      Returns:
      the value of the accumulatedDependencies record component
    • blockStateWriteRadius

      public int blockStateWriteRadius()
      Returns the value of the blockStateWriteRadius record component.
      Returns:
      the value of the blockStateWriteRadius record component
    • task

      public GenerationTask task()
      Returns the value of the task record component.
      Returns:
      the value of the task record component