mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Remove some old ApiStatus.Experimental annotations
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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();
|
||||
|
||||
/**
|
||||
|
@@ -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);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user