fix: improve threaded world compatibility and chunk reads in 1.1.15

Add regression tests and per-dimension progress diagnostics. Document the unresolved C2ME random-initialization redirect conflict.
This commit is contained in:
Disy committed 2026-10-03 21:24:31 +08:00
1 parent 74cae0b581
commit 32b11aee87
42 files changed
+1506 -381

No files matched your search

@@ -0,0 +1,22 @@
package dev.modzuozhi.mixin;
import com.llamalad7.mixinextras.injector.wrapmethod.WrapMethod;
import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
import dev.modzuozhi.core.compat.SableAssemblyDispatch;
import net.minecraft.server.level.ServerPlayer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
/** Includes ValueSettingsPacket (rotation speed); preserve Create's range/permission checks. */
@Pseudo
@Mixin(targets = "com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket", remap = false)
public abstract class CreateConfigurationPacketMixin {
@WrapMethod(method = "handle(Lnet/minecraft/server/level/ServerPlayer;)V")
private void dimensionalripper$configWithOwnership(ServerPlayer player, Operation<Void> original) {
if (player == null) {
original.call(player);
return;
}
SableAssemblyDispatch.dispatch(player, () -> original.call(player));
}
}