mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-01 02:04:51 +00:00
Spring pools at headwaters and ring-ordered feature search
- channel.springWidthRatio / springLength open every surface river in a pool that shrinks where the ground falls away - Banks settings keep structural invariants only; authoring bounds stay in the validator - Feature searches walk tiles outward and stop early; find and goto report progress per ring
This commit is contained in:
1 parent
896e58e212
commit
d1c73025a0
12 files changed
+152
-56
No files matched your search
@@ -161,7 +161,9 @@ public class CommandFind implements DirectorExecutor {
|
||||
query.profileKey(),
|
||||
origin.getBlockX(),
|
||||
origin.getBlockZ(),
|
||||
maximumDistance
|
||||
maximumDistance,
|
||||
(int visited) -> sendStructureMessage(target, commandSender,
|
||||
C.GRAY + "Searched " + visited + " hydrology tiles for " + type + "...")
|
||||
).orElse(null);
|
||||
if (feature == null) {
|
||||
sendStructureMessage(target, commandSender,
|
||||
|
||||
+3
-1
@@ -176,7 +176,9 @@ final class ModdedLocateCommands {
|
||||
MinecraftServer server = source.getServer();
|
||||
IrisModdedCommands.ok(source, "Searching accepted hydrology plans for " + type + "...");
|
||||
MultiBurst.burst.completeValueAsync(() -> runtime.nearestFeature(
|
||||
query.types(), query.profileKey(), originX, originZ, maximumDistance).orElse(null))
|
||||
query.types(), query.profileKey(), originX, originZ, maximumDistance,
|
||||
(int visited) -> server.execute(() -> IrisModdedCommands.ok(source,
|
||||
"Searched " + visited + " hydrology tiles for " + type + "..."))).orElse(null))
|
||||
.whenComplete((HydrologyFeatureRef feature, Throwable error) -> server.execute(() -> {
|
||||
if (error != null) {
|
||||
ModdedIrisLog.error("Hydrology locate failed for {}", type, error);
|
||||
|
||||
Reference in new issue
Block a user