From ee2818514f8a13f1a529698ae292f8039b94ec08 Mon Sep 17 00:00:00 2001 From: piexel Date: Sat, 10 Oct 2026 08:29:05 +0200 Subject: [PATCH] Entity resolution pin: an interval that always elapses, so the spawn effect is part of the pinned spec --- .../art/arcane/iris/engine/spawn/EntityResolutionPinTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/art/arcane/iris/engine/spawn/EntityResolutionPinTest.java b/core/src/test/java/art/arcane/iris/engine/spawn/EntityResolutionPinTest.java index fe872f7d2..616a1d096 100644 --- a/core/src/test/java/art/arcane/iris/engine/spawn/EntityResolutionPinTest.java +++ b/core/src/test/java/art/arcane/iris/engine/spawn/EntityResolutionPinTest.java @@ -52,7 +52,7 @@ public class EntityResolutionPinTest { "loot": {"tables": ["zombie/drops", "zombie/rare"]}, "passengers": [{"type": "minecraft:chicken", "baby": true, "helmet": {"type": "bread"}}], "leashHolder": {"type": "minecraft:bat", "attributes": [{"attribute": "max_health", "name": "tiny", "minAmount": 1, "maxAmount": 3}]}, - "spawnEffect": {"sound": "entity.zombie.ambient", "particleEffect": "SMOKE", "particleCount": 3, "interval": 0, "chance": 1}, + "spawnEffect": {"sound": "entity.zombie.ambient", "particleEffect": "SMOKE", "particleCount": 3, "interval": 1, "chance": 1}, "spawnEffectRiseOutOfGround": true, "rawCommands": [{"commands": ["say hello {x}"], "delay": 5, "repeat": true, "repeatDelay": 40}]} """; @@ -68,6 +68,6 @@ public class EntityResolutionPinTest { EntitySpec spec = new EntityResolution(new LootItems(registry, false), world).resolve(entity, new RNG(STREAM_SEED)); - assertEquals(1726532922, spec.toString().hashCode()); + assertEquals(-819231818, spec.toString().hashCode()); } }