๐ฅ๏ธFor Developers
Public API
import com.ohalee.modernoneblock.api.OneBlockAPI;
OneBlockAPI api = Bukkit.getServicesManager().load(OneBlockAPI.class);
api.island(uuid); // Optional<IslandView> โ the player's island
api.islandAt(location); // Optional<IslandView> โ the island containing a location
api.islandUnder(player); // Optional<IslandView> โ the island a player stands on
api.islands(); // every loaded island
api.phases(); // every configured phase, in progression order
api.isIslandWorld(world);
api.canBuild(player, location); // the plugin's own protection answerEvents
Breaking API changes
Provider interfaces
Last updated