Class ImmutableLocation
java.lang.Object
org.bukkit.Location
de.marcely.bedwars.tools.location.ImmutableLocation
- All Implemented Interfaces:
Cloneable
,ConfigurationSerializable
Extends
Location
and forbids any modifications done to it-
Constructor Summary
ConstructorDescriptionImmutableLocation
(World world, double x, double y, double z) ImmutableLocation
(World world, double x, double y, double z, float yaw, float pitch) -
Method Summary
Methods inherited from class org.bukkit.Location
checkFinite, deserialize, distance, distanceSquared, equals, getBlock, getBlockX, getBlockY, getBlockZ, getChunk, getDirection, getPitch, getWorld, getX, getY, getYaw, getZ, hashCode, length, lengthSquared, locToBlock, serialize, toString, toVector
-
Constructor Details
-
ImmutableLocation
-
ImmutableLocation
-
ImmutableLocation
-
-
Method Details
-
setWorld
-
setX
public void setX(double x) -
setY
public void setY(double y) -
setZ
public void setZ(double z) -
setYaw
public void setYaw(float yaw) -
setPitch
public void setPitch(float pitch) -
setDirection
- Overrides:
setDirection
in classLocation
-
add
-
add
-
add
-
subtract
-
subtract
-
subtract
-
multiply
-
zero
-
clone
-
cloneMutable
-