Spacing and ordering

This commit is contained in:
filoghost 2021-07-24 18:18:08 +02:00
parent 21280b0b1f
commit 003181c256

View File

@ -30,7 +30,6 @@ public interface Hologram {
*/ */
@NotNull TextLine appendTextLine(@Nullable String text); @NotNull TextLine appendTextLine(@Nullable String text);
/** /**
* Appends an item line to end of this hologram. * Appends an item line to end of this hologram.
* *
@ -40,7 +39,6 @@ public interface Hologram {
*/ */
@NotNull ItemLine appendItemLine(@NotNull ItemStack itemStack); @NotNull ItemLine appendItemLine(@NotNull ItemStack itemStack);
/** /**
* Inserts a text line in this hologram. * Inserts a text line in this hologram.
* *
@ -52,7 +50,6 @@ public interface Hologram {
*/ */
@NotNull TextLine insertTextLine(int index, @Nullable String text); @NotNull TextLine insertTextLine(int index, @Nullable String text);
/** /**
* Inserts an item line in this hologram. * Inserts an item line in this hologram.
* *
@ -64,7 +61,6 @@ public interface Hologram {
*/ */
@NotNull ItemLine insertItemLine(int index, @NotNull ItemStack itemStack); @NotNull ItemLine insertItemLine(int index, @NotNull ItemStack itemStack);
/** /**
* Finds the element at a given index in the lines. * Finds the element at a given index in the lines.
* *
@ -84,7 +80,6 @@ public interface Hologram {
*/ */
void removeLine(int index); void removeLine(int index);
/** /**
* Removes all the lines from this hologram. * Removes all the lines from this hologram.
* *
@ -92,7 +87,6 @@ public interface Hologram {
*/ */
void clearLines(); void clearLines();
/** /**
* Checks the amount of lines of the hologram. * Checks the amount of lines of the hologram.
* *
@ -101,7 +95,6 @@ public interface Hologram {
*/ */
int getLineCount(); int getLineCount();
/** /**
* The physical height of the hologram, counting all the lines. Since: v2.1.4 * The physical height of the hologram, counting all the lines. Since: v2.1.4
* *
@ -110,7 +103,6 @@ public interface Hologram {
*/ */
double getHeight(); double getHeight();
/** /**
* Teleports a hologram to the given location. * Teleports a hologram to the given location.
* *
@ -119,7 +111,6 @@ public interface Hologram {
*/ */
void teleport(@NotNull Location location); void teleport(@NotNull Location location);
/** /**
* Teleports a hologram to the given location. * Teleports a hologram to the given location.
* *
@ -139,6 +130,14 @@ public interface Hologram {
*/ */
@NotNull Location getLocation(); @NotNull Location getLocation();
/**
* Returns the world.
*
* @return the world of the hologram
* @since 1
*/
@NotNull World getWorld();
/** /**
* Returns the X coordinate. * Returns the X coordinate.
* *
@ -147,7 +146,6 @@ public interface Hologram {
*/ */
double getX(); double getX();
/** /**
* Returns the Y coordinate. * Returns the Y coordinate.
* *
@ -156,7 +154,6 @@ public interface Hologram {
*/ */
double getY(); double getY();
/** /**
* Returns the Z coordinate. * Returns the Z coordinate.
* *
@ -165,16 +162,6 @@ public interface Hologram {
*/ */
double getZ(); double getZ();
/**
* Returns the world.
*
* @return the world of the hologram
* @since 1
*/
@NotNull World getWorld();
/** /**
* Returns the {@link VisibilitySettings} of this hologram. * Returns the {@link VisibilitySettings} of this hologram.
* *
@ -183,7 +170,6 @@ public interface Hologram {
*/ */
@NotNull VisibilitySettings getVisibilitySettings(); @NotNull VisibilitySettings getVisibilitySettings();
/** /**
* Returns when the hologram was created. Useful for removing old holograms. * Returns when the hologram was created. Useful for removing old holograms.
* *
@ -219,7 +205,6 @@ public interface Hologram {
*/ */
void delete(); void delete();
/** /**
* Checks if a hologram was deleted. * Checks if a hologram was deleted.
* *