Add PathRegion, PathArea and PathRegionData

Add VariantSelector
Add DynamicRegionCommand
Fix RegionData constructor
This commit is contained in:
2026-03-16 21:08:26 +01:00
parent 62122f46ab
commit 174ff8c02f
20 changed files with 669 additions and 71 deletions
@@ -24,6 +24,7 @@ import de.steamwar.bausystem.utils.FlatteningWrapper;
import de.steamwar.bausystem.utils.PasteBuilder;
import de.steamwar.sql.GameModeConfig;
import lombok.NonNull;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
@@ -82,6 +83,9 @@ public interface Region extends RegionDataStore {
interface Area {
int WORLD_MIN_Y = Bukkit.getWorlds().get(0).getMinHeight();
int WORLD_MAX_Y = Bukkit.getWorlds().get(0).getMaxHeight();
Area EMPTY = new Area() {
@Override
public boolean isEmpty() {