java.lang.Object
net.ME1312.SubServers.Client.Bukkit.Library.Compatibility.OfflineBlock

public class OfflineBlock extends Object
Offline Block Location Class
  • Field Details

    • world

      public final UUID world
    • x

      public final int x
    • y

      public final int y
    • z

      public final int z
  • Constructor Details

    • OfflineBlock

      public OfflineBlock(Location location)
      Convert an existing location object
      Parameters:
      location - Location
    • OfflineBlock

      public OfflineBlock(UUID world, int x, int y, int z)
      Store location data
      Parameters:
      world - World ID
      x - X position
      y - Y position
      z - Z position
  • Method Details

    • world

      public World world()
      Find the World if loaded
      Returns:
      World (or null if unavailable)
    • load

      public Location load()
      Find the Location if loaded
      Returns:
      Location (or null if unavailable)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object