Class ImmutableXYZYP
java.lang.Object
de.marcely.bedwars.tools.location.XYZ
de.marcely.bedwars.tools.location.XYZYP
de.marcely.bedwars.tools.location.ImmutableXYZYP
- All Implemented Interfaces:
- Cloneable,- ConfigurationSerializable
Extends 
XYZYP and forbids any modifications done to it- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionImmutableXYZYP(double x, double y, double z) ImmutableXYZYP(double x, double y, double z, float yaw, float pitch) ImmutableXYZYP(XYZ xyz) ImmutableXYZYP(XYZYP xyz) ImmutableXYZYP(Location loc) ImmutableXYZYP(Vector vec) 
- 
Method SummaryModifier and TypeMethodDescriptionadd(double x, double y, double z) Adds the x-coordinatesmultiply(double amount) multiply(double x, double y, double z) set(double x, double y, double z) Sets the new coordinatesCopies and sets the xyz coordinates from the given objectCopies and sets the xyz coordinates from the given objectsetPitch(float pitch) setX(double x) Sets the x-coordinatesetY(double y) Sets the y-coordinatesetYaw(float yaw) setZ(double z) Sets the z-coordinatesubtract(double x, double y, double z) zero()Sets all coordinates to 0Methods inherited from class de.marcely.bedwars.tools.location.XYZYPclone, deserialize, getPitch, getYaw, serialize, set, toLocationMethods inherited from class de.marcely.bedwars.tools.location.XYZadd, distance, distance, distanceSquared, distanceSquared, equalsBlockCoords, equalsBlockCoords, equalsBlockCoords, getBlock, getBlockX, getBlockY, getBlockZ, getX, getY, getZ, isZero, set, subtract, toVector
- 
Constructor Details- 
ImmutableXYZYP
- 
ImmutableXYZYP
- 
ImmutableXYZYP
- 
ImmutableXYZYP
- 
ImmutableXYZYPpublic ImmutableXYZYP()
- 
ImmutableXYZYPpublic ImmutableXYZYP(double x, double y, double z) 
- 
ImmutableXYZYPpublic ImmutableXYZYP(double x, double y, double z, float yaw, float pitch) 
 
- 
- 
Method Details- 
setXDescription copied from class:XYZSets the x-coordinate
- 
setYDescription copied from class:XYZSets the y-coordinate
- 
setZDescription copied from class:XYZSets the z-coordinate
- 
setDescription copied from class:XYZSets the new coordinates
- 
setDescription copied from class:XYZCopies and sets the xyz coordinates from the given object
- 
setDescription copied from class:XYZCopies and sets the xyz coordinates from the given object
- 
addDescription copied from class:XYZAdds the x-coordinates
- 
add
- 
add
- 
add
- 
subtract
- 
subtract
- 
subtract
- 
subtract
- 
multiply
- 
multiply
- 
zeroDescription copied from class:XYZSets all coordinates to 0
- 
setYaw
- 
setPitch
 
-