Uses of Class
de.marcely.bedwars.tools.location.IntXYZ
-
Uses of IntXYZ in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionSpawner[]
Arena.getSpawnersAtLocation
(IntXYZ location) Returns all spawners that are located at that block/location@Nullable Team
Arena.getTeamByBedBlock
(IntXYZ loc) Returns the team that owns the bed part at the given location.boolean
Checks whether the given location is inside the arena. -
Uses of IntXYZ in de.marcely.bedwars.tools.location
Modifier and TypeMethodDescriptionIntXYZ.add
(int x, int y, int z) Adds the x-coordinatesIntXYZ.clone()
static IntXYZ
IntXYZ.deserialize
(Map<String, Object> data) Required method for deserializationIntXYZ.multiply
(int amount) IntXYZ.multiply
(int x, int y, int z) IntXYZ.set
(int x, int y, int z) Sets the new coordinatesCopies and sets the xyz coordinates from the given objectCopies and sets the xyz coordinates from the given blockCopies and sets the xyz coordinates from the given objectIntXYZ.setX
(int x) Sets the x-coordinateIntXYZ.setY
(int y) Sets the y-coordinateIntXYZ.setZ
(int z) Sets the z-coordinateIntXYZ.subtract
(int x, int y, int z) IntXYZ.zero()
Sets all coordinates to 0Modifier and TypeMethodDescriptiondouble
double
IntXYZ.distanceSquared
(IntXYZ o) Copies and sets the xyz coordinates from the given object