Package net.minecraft.world.chunk
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 dvl
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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GenerationDependencies
The field for theaccumulatedDependencies
record component.private final int
The field for theblockStateWriteRadius
record component.private final GenerationDependencies
The field for thedirectDependencies
record component.private final ChunkStatus
The field for thetargetStatus
record component.private final GenerationTask
The field for thetask
record component. -
Constructor Summary
ConstructorDescriptionChunkGenerationStep
(ChunkStatus chunkStatus, GenerationDependencies generationDependencies, GenerationDependencies generationDependencies2, int int2, GenerationTask generationTask) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccumulatedDependencies
record component.int
Returns the value of theblockStateWriteRadius
record component.Returns the value of thedirectDependencies
record component.final boolean
Indicates whether some other object is "equal to" this one.private Chunk
finalizeGeneration
(Chunk chunk, @Nullable Finishable finishCallback) int
getAdditionalLevel
(ChunkStatus status) final int
hashCode()
Returns a hash code value for this object.run
(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) Returns the value of thetargetStatus
record component.task()
Returns the value of thetask
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
targetStatus
The field for thetargetStatus
record component. -
directDependencies
The field for thedirectDependencies
record component. -
accumulatedDependencies
The field for theaccumulatedDependencies
record component. -
blockStateWriteRadius
private final int blockStateWriteRadiusThe field for theblockStateWriteRadius
record component. -
task
The field for thetask
record component.
-
-
Constructor Details
-
ChunkGenerationStep
public ChunkGenerationStep(ChunkStatus chunkStatus, GenerationDependencies generationDependencies, GenerationDependencies generationDependencies2, int int2, GenerationTask generationTask)
-
-
Method Details
-
getAdditionalLevel
- 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
Ldvl;a(Ldvi;)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
Ldvl;a(Ldvn;Laza;Lduh;)Ljava/util/concurrent/CompletableFuture;
-
finalizeGeneration
- 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
Ldvl;a(Lduh;Lbne;)Lduh;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
targetStatus
Returns the value of thetargetStatus
record component.- Returns:
- the value of the
targetStatus
record component
-
directDependencies
Returns the value of thedirectDependencies
record component.- Returns:
- the value of the
directDependencies
record component
-
accumulatedDependencies
Returns the value of theaccumulatedDependencies
record component.- Returns:
- the value of the
accumulatedDependencies
record component
-
blockStateWriteRadius
public int blockStateWriteRadius()Returns the value of theblockStateWriteRadius
record component.- Returns:
- the value of the
blockStateWriteRadius
record component
-
task
Returns the value of thetask
record component.- Returns:
- the value of the
task
record component
-