Update some part of Region

This commit is contained in:
2024-10-04 19:55:58 +02:00
parent 45646b6ba3
commit 96daa2c861
46 changed files with 1445 additions and 79 deletions
@@ -0,0 +1,40 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2024 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.bausystem.regionnew;
import org.bukkit.Location;
import java.util.Optional;
import java.util.stream.Stream;
public interface RegionSystem {
void load();
void save();
Region getGlobalRegion();
Region get(Location location);
Optional<Region> getRegion(String name);
Stream<Region> getRegions();
boolean isModular();
}