Remove some old ApiStatus.Experimental annotations

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-02-11 10:06:55 +11:00
parent f9381f1dc4
commit e32cdbcc1c
6 changed files with 0 additions and 22 deletions

View File

@@ -2,7 +2,6 @@ package org.bukkit.entity;
import org.bukkit.block.data.BlockData;
import org.bukkit.material.MaterialData;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -53,7 +52,6 @@ public interface Enderman extends Monster {
*
* @return true if the teleport succeeded.
*/
@ApiStatus.Experimental
public boolean teleport();
/**
@@ -72,6 +70,5 @@ public interface Enderman extends Monster {
* @param entity The entity to teleport towards.
* @return true if the teleport succeeded.
*/
@ApiStatus.Experimental
public boolean teleportTowards(@NotNull Entity entity);
}

View File

@@ -534,9 +534,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* will need to be called before the entity is visible to a given player.
*
* @param visible default visibility status
* @apiNote draft API
*/
@ApiStatus.Experimental
public void setVisibleByDefault(boolean visible);
/**
@@ -547,9 +545,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* will need to be called before the entity is visible to a given player.
*
* @return default visibility status
* @apiNote draft API
*/
@ApiStatus.Experimental
public boolean isVisibleByDefault();
/**
@@ -563,7 +559,6 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* @return the players tracking this entity, or an empty set if none
*/
@NotNull
@ApiStatus.Experimental
Set<Player> getTrackedBy();
/**

View File

@@ -1271,9 +1271,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
*
* @param plugin Plugin that wants to hide the entity
* @param entity Entity to hide
* @apiNote draft API
*/
@ApiStatus.Experimental
public void hideEntity(@NotNull Plugin plugin, @NotNull Entity entity);
/**
@@ -1283,9 +1281,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
*
* @param plugin Plugin that wants to show the entity
* @param entity Entity to show
* @apiNote draft API
*/
@ApiStatus.Experimental
public void showEntity(@NotNull Plugin plugin, @NotNull Entity entity);
/**
@@ -1294,9 +1290,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
* @param entity Entity to check
* @return True if the provided entity is not being hidden from this
* player
* @apiNote draft API
*/
@ApiStatus.Experimental
public boolean canSee(@NotNull Entity entity);
/**