Remove some draft API designations

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-10-25 20:40:35 +11:00
parent 017a3c55d7
commit 5901e5584a
3 changed files with 6 additions and 17 deletions

View file

@ -38,26 +38,22 @@ public interface Sign extends BlockState {
/**
* Marks whether this sign can be edited by players.
* <br>
* This is a special value, which is not persisted. It should only be if a
* placed sign is manipulated during the BlockPlaceEvent. Behaviour outside
* of this event is undefined.
* This is a special value, which is not persisted. It should only be set if
* a placed sign is manipulated during the BlockPlaceEvent. Behaviour
* outside of this event is undefined.
*
* @return if this sign is currently editable
* @deprecated draft API
*/
@Deprecated
public boolean isEditable();
/**
* Marks whether this sign can be edited by players.
* <br>
* This is a special value, which is not persisted. It should only be if a
* placed sign is manipulated during the BlockPlaceEvent. Behaviour outside
* of this event is undefined.
* This is a special value, which is not persisted. It should only be set if
* a placed sign is manipulated during the BlockPlaceEvent. Behaviour
* outside of this event is undefined.
*
* @param editable if this sign is currently editable
* @deprecated draft API
*/
@Deprecated
public void setEditable(boolean editable);
}

View file

@ -1,15 +1,10 @@
package org.bukkit.event.server;
import org.bukkit.Warning;
import org.bukkit.event.HandlerList;
/**
* This event is called when either the server startup or reload has completed.
*
* @deprecated draft API
*/
@Deprecated
@Warning(false)
public class ServerLoadEvent extends ServerEvent {
/**

View file

@ -18,8 +18,6 @@ import org.bukkit.inventory.ItemFlag;
* <p>
* An implementation will handle the creation and application for ItemMeta.
* This class should not be implemented by a plugin in a live environment.
* <p>
* <b>Attribute related APIs are draft API</b>
*/
public interface ItemMeta extends Cloneable, ConfigurationSerializable {