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 - dzx- 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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final GenerationDependenciesThe field for theaccumulatedDependenciesrecord component.private final intThe field for theblockStateWriteRadiusrecord component.private final GenerationDependenciesThe field for thedirectDependenciesrecord component.private final ChunkStatusThe field for thetargetStatusrecord component.private final GenerationTaskThe field for thetaskrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionChunkGenerationStep(ChunkStatus chunkStatus, GenerationDependencies generationDependencies, GenerationDependencies generationDependencies2, int int2, GenerationTask generationTask) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theaccumulatedDependenciesrecord component.intReturns the value of theblockStateWriteRadiusrecord component.Returns the value of thedirectDependenciesrecord component.final booleanIndicates whether some other object is "equal to" this one.private ChunkfinalizeGeneration(Chunk chunk, @Nullable Finishable finishCallback) intgetAdditionalLevel(ChunkStatus status) final inthashCode()Returns a hash code value for this object.run(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) Returns the value of thetargetStatusrecord component.task()Returns the value of thetaskrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
targetStatusThe field for thetargetStatusrecord component.
- 
directDependenciesThe field for thedirectDependenciesrecord component.
- 
accumulatedDependenciesThe field for theaccumulatedDependenciesrecord component.
- 
blockStateWriteRadiusprivate final int blockStateWriteRadiusThe field for theblockStateWriteRadiusrecord component.
- 
taskThe field for thetaskrecord component.
 
- 
- 
Constructor Details- 
ChunkGenerationSteppublic 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- Ldzx;a(Ldzu;)I
 
- 
runpublic 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- Ldzx;a(Ldzz;Lazt;Ldyt;)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- Ldzx;a(Ldyt;Lbpf;)Ldyt;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
targetStatusReturns the value of thetargetStatusrecord component.- Returns:
- the value of the targetStatusrecord component
 
- 
directDependenciesReturns the value of thedirectDependenciesrecord component.- Returns:
- the value of the directDependenciesrecord component
 
- 
accumulatedDependenciesReturns the value of theaccumulatedDependenciesrecord component.- Returns:
- the value of the accumulatedDependenciesrecord component
 
- 
blockStateWriteRadiuspublic int blockStateWriteRadius()Returns the value of theblockStateWriteRadiusrecord component.- Returns:
- the value of the blockStateWriteRadiusrecord component
 
- 
taskReturns the value of thetaskrecord component.- Returns:
- the value of the taskrecord component
 
 
-