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/ChunkGenerationStepintermediary net/minecraft/class_9770official dwcnamed targetStatusintermediary comp_2803official anamed directDependenciesintermediary comp_2804official bnamed accumulatedDependenciesintermediary comp_2805official cnamed blockStateWriteRadiusintermediary comp_2806official dnamed taskintermediary comp_2807official e
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionChunkGenerationStep(ChunkStatus chunkStatus, GenerationDependencies generationDependencies, GenerationDependencies generationDependencies2, int int2, GenerationTask generationTask) -
Method Summary
Modifier 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
-
targetStatus
The field for thetargetStatusrecord component. -
directDependencies
The field for thedirectDependenciesrecord component. -
accumulatedDependencies
The field for theaccumulatedDependenciesrecord component. -
blockStateWriteRadius
private final int blockStateWriteRadiusThe field for theblockStateWriteRadiusrecord component. -
task
The field for thetaskrecord 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 getAdditionalLevelLnet/minecraft/world/chunk/ChunkGenerationStep;getAdditionalLevel(Lnet/minecraft/world/chunk/ChunkStatus;)Iintermediary method_60559Lnet/minecraft/class_9770;method_60559(Lnet/minecraft/class_2806;)Iofficial aLdwc;a(Ldvz;)I
-
run
public CompletableFuture<Chunk> run(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) - Mappings:
Namespace Name Mixin selector named runLnet/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_60560Lnet/minecraft/class_9770;method_60560(Lnet/minecraft/class_9312;Lnet/minecraft/class_9762;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;official aLdwc;a(Ldwe;Lazi;Lduy;)Ljava/util/concurrent/CompletableFuture;
-
finalizeGeneration
- Mappings:
Namespace Name Mixin selector named finalizeGenerationLnet/minecraft/world/chunk/ChunkGenerationStep;finalizeGeneration(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/function/Finishable;)Lnet/minecraft/world/chunk/Chunk;intermediary method_60558Lnet/minecraft/class_9770;method_60558(Lnet/minecraft/class_2791;Lnet/minecraft/class_6613;)Lnet/minecraft/class_2791;official aLdwc;a(Lduy;Lbno;)Lduy;
-
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 thetargetStatusrecord component.- Returns:
- the value of the
targetStatusrecord component
-
directDependencies
Returns the value of thedirectDependenciesrecord component.- Returns:
- the value of the
directDependenciesrecord component
-
accumulatedDependencies
Returns the value of theaccumulatedDependenciesrecord component.- Returns:
- the value of the
accumulatedDependenciesrecord component
-
blockStateWriteRadius
public int blockStateWriteRadius()Returns the value of theblockStateWriteRadiusrecord component.- Returns:
- the value of the
blockStateWriteRadiusrecord component
-
task
Returns the value of thetaskrecord component.- Returns:
- the value of the
taskrecord component
-