From 60ed415079a03310b9645ee8c20bfe94159d89b7 Mon Sep 17 00:00:00 2001 From: TCDev <102576942+TCDev10@users.noreply.github.com> Date: Mon, 19 Oct 2026 11:18:48 +0200 Subject: [PATCH] =?UTF-8?q?Twin=20towers=20pi=C3=B9=20frequenti:=20spaziat?= =?UTF-8?q?ura=2032=E2=86=9226,=20separazione=2012=E2=86=9210?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../worldgen/structure_set/twin_towers.json | 4 ++-- test.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/resources/data/israel_simulator/worldgen/structure_set/twin_towers.json b/src/main/resources/data/israel_simulator/worldgen/structure_set/twin_towers.json index b8eee4c..8f8df56 100644 --- a/src/main/resources/data/israel_simulator/worldgen/structure_set/twin_towers.json +++ b/src/main/resources/data/israel_simulator/worldgen/structure_set/twin_towers.json @@ -2,8 +2,8 @@ "placement": { "type": "minecraft:random_spread", "salt": 20010911, - "separation": 12, - "spacing": 32 + "separation": 10, + "spacing": 26 }, "structures": [ { diff --git a/test.md b/test.md index a7da015..f91f62a 100644 --- a/test.md +++ b/test.md @@ -847,3 +847,9 @@ Non provato dall'utente in gioco. - Da provare: `/locate structure israel_simulator:twin_towers` trova le torri; le casse hanno loot; il vecchio id non esiste più. - Nei mondi già creati le torri generate restano come blocchi, ma il gioco non le riconosce più come struttura (`/locate`, evento dell'aereo). - Verifica: solo build e test unitari. + +## twin_towers troppo rare +- Problema riscontrato: le twin_towers comparivano troppo raramente nel mondo. +- Funzionamento atteso: circa +50% di frequenza (una possibile posizione ogni 26×26 chunk invece di 32×32: 1024/676 ≈ 1,51). +- Soluzione: nello structure set `twin_towers` spaziatura da 32 a 26 chunk e separazione da 12 a 10 (sempre minore della spaziatura). Nessuna costante Java o test fissava questi valori; la guardia anti-sovrapposizione legge la spaziatura dallo structure set. +- Verifica: solo la CI di GitHub, nessun test in gioco. Non provato dall'utente in gioco.