Class LoadstoneTracker

java.lang.Object
org.geysermc.connector.utils.LoadstoneTracker

public class LoadstoneTracker extends Object
  • Constructor Details

    • LoadstoneTracker

      public LoadstoneTracker()
  • Method Details

    • store

      public static int store(int x, int y, int z, String dim)
      Store the given coordinates and dimensions
      Parameters:
      x - The X position of the Loadstone
      y - The Y position of the Loadstone
      z - The Z position of the Loadstone
      dim - The dimension containing of the Loadstone
      Returns:
      The id in the Map
    • getPos

      public static LoadstoneTracker.LoadstonePos getPos(int id)
      Get the loadstone data
      Parameters:
      id - The ID to get the data for
      Returns:
      The stored data