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.block.data.BlockData;
import org.bukkit.material.MaterialData; import org.bukkit.material.MaterialData;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
@@ -53,7 +52,6 @@ public interface Enderman extends Monster {
* *
* @return true if the teleport succeeded. * @return true if the teleport succeeded.
*/ */
@ApiStatus.Experimental
public boolean teleport(); public boolean teleport();
/** /**
@@ -72,6 +70,5 @@ public interface Enderman extends Monster {
* @param entity The entity to teleport towards. * @param entity The entity to teleport towards.
* @return true if the teleport succeeded. * @return true if the teleport succeeded.
*/ */
@ApiStatus.Experimental
public boolean teleportTowards(@NotNull Entity entity); 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. * will need to be called before the entity is visible to a given player.
* *
* @param visible default visibility status * @param visible default visibility status
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public void setVisibleByDefault(boolean visible); 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. * will need to be called before the entity is visible to a given player.
* *
* @return default visibility status * @return default visibility status
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public boolean isVisibleByDefault(); 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 * @return the players tracking this entity, or an empty set if none
*/ */
@NotNull @NotNull
@ApiStatus.Experimental
Set<Player> getTrackedBy(); 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 plugin Plugin that wants to hide the entity
* @param entity Entity to hide * @param entity Entity to hide
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public void hideEntity(@NotNull Plugin plugin, @NotNull Entity entity); 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 plugin Plugin that wants to show the entity
* @param entity Entity to show * @param entity Entity to show
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public void showEntity(@NotNull Plugin plugin, @NotNull Entity entity); 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 * @param entity Entity to check
* @return True if the provided entity is not being hidden from this * @return True if the provided entity is not being hidden from this
* player * player
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public boolean canSee(@NotNull Entity entity); public boolean canSee(@NotNull Entity entity);
/** /**

View File

@@ -3,7 +3,6 @@ package org.bukkit.event.player;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
/** /**
@@ -15,9 +14,7 @@ import org.jetbrains.annotations.NotNull;
* This event is called regardless of if the entity was within tracking range. * This event is called regardless of if the entity was within tracking range.
* *
* @see Player#hideEntity(org.bukkit.plugin.Plugin, org.bukkit.entity.Entity) * @see Player#hideEntity(org.bukkit.plugin.Plugin, org.bukkit.entity.Entity)
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public class PlayerHideEntityEvent extends PlayerEvent { public class PlayerHideEntityEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();

View File

@@ -3,7 +3,6 @@ package org.bukkit.event.player;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
/** /**
@@ -16,9 +15,7 @@ import org.jetbrains.annotations.NotNull;
* range. * range.
* *
* @see Player#showEntity(org.bukkit.plugin.Plugin, org.bukkit.entity.Entity) * @see Player#showEntity(org.bukkit.plugin.Plugin, org.bukkit.entity.Entity)
* @apiNote draft API
*/ */
@ApiStatus.Experimental
public class PlayerShowEntityEvent extends PlayerEvent { public class PlayerShowEntityEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();

View File

@@ -1,12 +1,10 @@
package org.bukkit.inventory.meta; package org.bukkit.inventory.meta;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
/** /**
* Represents armor that an entity can equip and can also be colored. * Represents armor that an entity can equip and can also be colored.
*/ */
@ApiStatus.Experimental
public interface ColorableArmorMeta extends ArmorMeta, LeatherArmorMeta { public interface ColorableArmorMeta extends ArmorMeta, LeatherArmorMeta {
@Override @Override