Keep child biomes when a biome is focused; goto honours focus region

Ported from v3e (af1fe9808, 05eed1f6a, eb1a24411). A focused biome now
implodes into its children instead of painting the parent everywhere,
and region goto checks what the engine actually generates, so a focused
region is reachable and the others are not. Locating already covered
child biomes and focus.
This commit is contained in:
piexel committed 2026-11-05 21:15:00 +01:00
1 parent eb7a6e1044
commit 6522174c83
4 files changed
+15 -7

No files matched your search

@@ -107,7 +107,7 @@ final class ModdedLocateCommands {
IrisModdedCommands.fail(source, IrisLanguage.plain(ModdedCommandMessages.IRIS_MODDED_COMMANDS_UNKNOWN_REGION_2, MessageArgument.untrusted("key", key)));
return 0;
}
if (!engine.getDimension().getRegions().contains(region.getLoadKey())) {
if (!engine.generatesRegion(region)) {
IrisModdedCommands.fail(source, IrisLanguage.plain(ModdedCommandMessages.IRIS_MODDED_COMMANDS_IS_NOT_DEFINED_DIMENSION, MessageArgument.untrusted("value", region.getLoadKey())));
return 0;
}