Record Class ChunkGenerationSteps

java.lang.Object
java.lang.Record
net.minecraft.world.chunk.ChunkGenerationSteps
Record Components:
steps -

public record ChunkGenerationSteps(ImmutableList<ChunkGenerationStep> steps) extends Record
Mappings:
Namespace Name
named net/minecraft/world/chunk/ChunkGenerationSteps
intermediary net/minecraft/class_9768
official eap
named steps
intermediary comp_2802
official c
  • Field Details

    • steps

      private final ImmutableList<ChunkGenerationStep> steps
      The field for the steps record component.
    • GENERATION

      public static final ChunkGenerationSteps GENERATION
      Mappings:
      Namespace Name Mixin selector
      named GENERATION Lnet/minecraft/world/chunk/ChunkGenerationSteps;GENERATION:Lnet/minecraft/world/chunk/ChunkGenerationSteps;
      intermediary field_51900 Lnet/minecraft/class_9768;field_51900:Lnet/minecraft/class_9768;
      official a Leap;a:Leap;
    • LOADING

      public static final ChunkGenerationSteps LOADING
      Mappings:
      Namespace Name Mixin selector
      named LOADING Lnet/minecraft/world/chunk/ChunkGenerationSteps;LOADING:Lnet/minecraft/world/chunk/ChunkGenerationSteps;
      intermediary field_51901 Lnet/minecraft/class_9768;field_51901:Lnet/minecraft/class_9768;
      official b Leap;b:Leap;
  • Constructor Details

  • Method Details

    • get

      public ChunkGenerationStep get(ChunkStatus status)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/chunk/ChunkGenerationSteps;get(Lnet/minecraft/world/chunk/ChunkStatus;)Lnet/minecraft/world/chunk/ChunkGenerationStep;
      intermediary method_60518 Lnet/minecraft/class_9768;method_60518(Lnet/minecraft/class_2806;)Lnet/minecraft/class_9770;
      official a Leap;a(Leaq;)Leat;
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • steps

      Returns the value of the steps record component.
      Returns:
      the value of the steps record component