Stratos Events 1.1

A small plugin that adds events to the Stratos World Generator Plugin

  1. paulmertens
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    Contributors:
    deret123 (Stratos Developer)
    [​IMG]

    Stratos Events is an addon for the Stratos World Generator plugin.
    It adds a new biome change event and some funtions, that are easier to access than in Stratos itself (they just exist because i needed them for the event).

    Events (net.kettlemc.stratosapi.event):
    • StratosBiomeChangeEvent
      • getOldBiome()
      • getNewBiome()
      • getPlayer()
    Code (Java):

    @EventHandler
    public void onBiomeChange(StratosBiomeChangeEvent event) {
       Player player = event.getPlayer();
       player.sendMessage("You went from " + event.getOldBiome().getName() + " to " + event.getNewBiome().getName());
    }
     
    Functions (net.kettlemc.stratosapi.stratos.API):
    • getBiomeAtLocation(Location loc)
    • getBiomeAtPlayer(Player player)
    • isInStratosWorld(Player player)

Recent Updates

  1. Update 1.1