From ee8e74b0d270606bf625535231d0b131c0f28ebe Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 10 Oct 2026 19:39:51 +0200 Subject: [PATCH] Chain neighbour updates as far as a server level does in the oracle The block oracle cut chained neighbour updates at 512, but a server level uses max-chained-neighbor-updates (1,000,000 by default), as Horizon does, so long redstone wire cascades stopped early on the vanilla side only. Redstone now matches on 4,000 of 4,000 cases; block updates and random ticks still match on every compared case. Co-Authored-By: Claude Opus 5.5 --- .../java/dev/horizonlab/parity/VanillaBlockUpdateOracle.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockUpdateOracle.java b/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockUpdateOracle.java index 85c76065d..046b2d399 100644 --- a/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockUpdateOracle.java +++ b/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockUpdateOracle.java @@ -461,7 +461,8 @@ public final class VanillaBlockUpdateOracle { w.raining = f.has("raining") && f.get("raining").getAsBoolean(); w.thundering = f.has("thundering") && f.get("thundering").getAsBoolean(); set(Level.class, w, "random", w.rng); - set(Level.class, w, "neighborUpdater", new net.minecraft.world.level.redstone.CollectingNeighborUpdater(w, 512)); + // A server level chains up to max-chained-neighbor-updates (1,000,000 by default). + set(Level.class, w, "neighborUpdater", new net.minecraft.world.level.redstone.CollectingNeighborUpdater(w, 1000000)); w.server = make(Server.class); w.server.loot = make(Loot.class); w.server.loot.world = w;