#Handling chunk concurrency CME
15 messages · Page 1 of 1 (latest)
and the worker thread called
!ym NoiseChunkGenerator.method_38332
Class Names
Official: edt
Intermediary: net/minecraft/class_3754
Yarn: net/minecraft/world/gen/chunk/NoiseChunkGenerator
Method Names
Official: a
Intermediary: method_38332
Yarn: method_38332
Yarn Method Descriptor
(Lnet/minecraft/world/chunk/Chunk;ILnet/minecraft/world/gen/chunk/GenerationShapeConfig;ILnet/minecraft/world/gen/chunk/Blender;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/noise/NoiseConfig;I)Lnet/minecraft/world/chunk/Chunk;
Yarn Access Widener
accessible method net/minecraft/world/gen/chunk/NoiseChunkGenerator method_38332 (Lnet/minecraft/world/chunk/Chunk;ILnet/minecraft/world/gen/chunk/GenerationShapeConfig;ILnet/minecraft/world/gen/chunk/Blender;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/noise/NoiseConfig;I)Lnet/minecraft/world/chunk/Chunk;
Yarn Mixin Target
Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;method_38332(Lnet/minecraft/world/chunk/Chunk;ILnet/minecraft/world/gen/chunk/GenerationShapeConfig;ILnet/minecraft/world/gen/chunk/Blender;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/noise/NoiseConfig;I)Lnet/minecraft/world/chunk/Chunk;
Javadoc
oh great it's a lambda
Now, question is, can I skip a packet
welp, I think I found a suprisingly not cursed solution
I wrapped sending the chunk with a try
and a counter of fails
then modified the chunk count packet to show the correct number
ah wait this wouldn't work
I mean it would partially work
the unlock happens on the work thread
this LockHelper is kinda stupid