MiWorld-API 1.0

API for worlds

  1. _mIrAgEdayo_
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.12
    Source Code:
    https://github.com/MIrAgEdayo/MiWorld-API
    The simple API for World load/unload

    Make plugin instance
    Code (Text):
    String worldName = "test";
    MiWorldAPI miWorldAPI = new MiWorldAPI(worldName);


    Load world
    Code (Text):
    miWorldAPI.load(); //Returns MiWorld.loadState

    Unload world
    Code (Text):
    miWorldAPI.unload(); //Returns boolean

    Get the world with the name specified in the constructor argument
    Code (Text):
    miWorldAPI.getWorld(); //Returns world

    Check if the world is already loaded
    Code (Text):
    miWorldAPI.isLoaded(); //Returns boolean

    Get the existence of the world with the name specified in the constructor argument
    Code (Text):
    miWorldAPI.isWorldExist(); //Returns boolean