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.Locationclone()static MVWorld.NullLocationdeserialize(java.util.Map<java.lang.String,java.lang.Object> args)Let Bukkit be able to deserialize this.inthashCode()java.util.Map<java.lang.String,java.lang.Object>serialize()java.lang.StringtoString()org.bukkit.util.VectortoVector()-
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:
clonein classorg.bukkit.Location
-
serialize
public java.util.Map<java.lang.String,java.lang.Object> serialize()
Description copied from class:SpawnLocation- Specified by:
serializein interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable- Overrides:
serializein 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:
toVectorin classorg.bukkit.Location
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.bukkit.Location
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.bukkit.Location
-
-