Package com.onarandombox.MultiverseCore
Class MVWorld.NullLocation
- java.lang.Object
-
- org.bukkit.Location
-
- com.onarandombox.MultiverseCore.configuration.SpawnLocation
-
- com.onarandombox.MultiverseCore.MVWorld.NullLocation
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
- Enclosing class:
- MVWorld
public static final class MVWorld.NullLocation extends SpawnLocation
Null-location.
-
-
Constructor Summary
Constructors Constructor Description NullLocation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bukkit.Location
clone()
static MVWorld.NullLocation
deserialize(java.util.Map<java.lang.String,java.lang.Object> args)
Let Bukkit be able to deserialize this.int
hashCode()
java.util.Map<java.lang.String,java.lang.Object>
serialize()
java.lang.String
toString()
org.bukkit.util.Vector
toVector()
-
Methods inherited from class com.onarandombox.MultiverseCore.configuration.SpawnLocation
getBlock, getChunk, getWorld, setWorld
-
Methods inherited from class org.bukkit.Location
add, add, add, checkFinite, distance, distanceSquared, equals, getBlockX, getBlockY, getBlockZ, getDirection, getPitch, getX, getY, getYaw, getZ, length, lengthSquared, locToBlock, multiply, normalizePitch, normalizeYaw, setDirection, setPitch, setX, setY, setYaw, setZ, subtract, subtract, subtract, zero
-
-
-
-
Method Detail
-
clone
public org.bukkit.Location clone()
- Overrides:
clone
in classorg.bukkit.Location
-
serialize
public java.util.Map<java.lang.String,java.lang.Object> serialize()
Description copied from class:SpawnLocation
- Specified by:
serialize
in interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
- Overrides:
serialize
in classSpawnLocation
-
deserialize
public static MVWorld.NullLocation deserialize(java.util.Map<java.lang.String,java.lang.Object> args)
Let Bukkit be able to deserialize this.- Parameters:
args
- The map.- Returns:
- The deserialized object.
-
toVector
public org.bukkit.util.Vector toVector()
- Overrides:
toVector
in classorg.bukkit.Location
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.bukkit.Location
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.bukkit.Location
-
-