Uses of Class
de.marcely.bedwars.tools.location.XYZ
Packages that use XYZ
Package
Description
The root package of the MBedwars API
Contains classes that are related to the
Arena.Classes related to the in game
Spawners.Classes relevant to managing custom blocks and holograms placed throughout worlds.
Various helper classes that can be used to make life a lot easier.
Classes used for representing locations within a world.
-
Uses of XYZ in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api with parameters of type XYZModifier and TypeMethodDescriptionvoidGameAPI.drawBorder(XYZ min, XYZ max, Player player) Draw a cube border once. -
Uses of XYZ in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena that return XYZModifier and TypeMethodDescription@Nullable XYZArena.getMaxRegionCorner()An arena of the typeRegenerationType.REGIONhas two corners.@Nullable XYZArena.getMinRegionCorner()An arena of the typeRegenerationType.REGIONhas two corners.Methods in de.marcely.bedwars.api.arena with parameters of type XYZModifier and TypeMethodDescriptionArena.addSpawner(XYZ location, DropType type) Adds a spawner to the arenaSpawner[]Arena.getSpawnersAtLocation(XYZ location) Returns all spawners that are located at that block/location@Nullable TeamArena.getTeamByBaseLocation(XYZ xyz) Tries to fetch the team of a location that's inside a base.booleanChecks whether the given location is inside the arena.ArenaBuilder.setLocation1(XYZ loc) Can be used for:
-RegenerationType.REGIONArenaBuilder.setLocation2(XYZ loc) Can be used for:
-RegenerationType.REGIONvoidArena.setRegionCorners(XYZ pos1, XYZ pos2) An arena of the typeRegenerationType.REGIONhas two corners. -
Uses of XYZ in de.marcely.bedwars.api.game.spawner
Methods in de.marcely.bedwars.api.game.spawner that return XYZModifier and TypeMethodDescriptionSpawner.getLocation()Returns where the spawner has been added. -
Uses of XYZ in de.marcely.bedwars.api.world
Methods in de.marcely.bedwars.api.world with parameters of type XYZModifier and TypeMethodDescriptiondefault @Nullable SpecialBlockTries to create a special block at the given coordinates.default @Nullable SpecialBlockTries to fetch and return a special block given by its coordinates -
Uses of XYZ in de.marcely.bedwars.tools
Methods in de.marcely.bedwars.tools with parameters of type XYZModifier and TypeMethodDescriptiondefault voidHelper.getBlockAsync(World world, XYZ xyz, Consumer<Block> callback) Allows you to retrieve and modify a block asynchronously on 1.14+ -
Uses of XYZ in de.marcely.bedwars.tools.location
Subclasses of XYZ in de.marcely.bedwars.tools.locationModifier and TypeClassDescriptionclassExtendsXYZand forbids any modifications done to itclassExtendsXYZDand forbids any modifications done to itclassExtendsXYZYPand forbids any modifications done to itclassRepresents a 3-dimensional position and a compass directionclassRepresents a 3-dimensional position with a yaw and pitch directionMethods in de.marcely.bedwars.tools.location that return XYZModifier and TypeMethodDescriptionImmutableXYZ.add(double x, double y, double z) XYZ.add(double x, double y, double z) Adds the x-coordinatesXYZ.clone()static XYZXYZ.deserialize(Map<String, Object> data) Required method for deserializationImmutableXYZ.multiply(double amount) ImmutableXYZ.multiply(double x, double y, double z) XYZ.multiply(double amount) XYZ.multiply(double x, double y, double z) ImmutableXYZ.set(double x, double y, double z) XYZ.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 objectCopies and sets the xyz coordinates from the given objectImmutableXYZ.setX(double x) XYZ.setX(double x) Sets the x-coordinateImmutableXYZ.setY(double y) XYZ.setY(double y) Sets the y-coordinateImmutableXYZ.setZ(double z) XYZ.setZ(double z) Sets the z-coordinateImmutableXYZ.subtract(double x, double y, double z) XYZ.subtract(double x, double y, double z) ImmutableXYZ.zero()XYZ.zero()Sets all coordinates to 0Methods in de.marcely.bedwars.tools.location with parameters of type XYZModifier and TypeMethodDescriptiondoubledoubleXYZ.distanceSquared(XYZ o) booleanIntXYZ.equalsBlockCoords(XYZ xyz) Check whether the block coords match.booleanXYZ.equalsBlockCoords(XYZ xyz) Check whether the block coords (i.a.Copies and sets the xyz coordinates from the given objectCopies and sets the xyz coordinates from the given objectConstructors in de.marcely.bedwars.tools.location with parameters of type XYZModifierConstructorDescriptionImmutableXYZ(XYZ xyz) ImmutableXYZD(XYZ xyz) ImmutableXYZYP(XYZ xyz)