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);
/**

View file

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

View file

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