#914: Make use of ApiStatus.Internal reather than deprecation
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.inventory.meta.BookMeta;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.inventory.meta.SkullMeta;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -155,9 +156,9 @@ public interface ItemFactory {
|
||||
* @param material material
|
||||
* @return updated material
|
||||
* @throws IllegalArgumentException if bad material or data
|
||||
* @deprecated for internal use only
|
||||
* @apiNote for internal use only
|
||||
*/
|
||||
@Deprecated
|
||||
@ApiStatus.Internal
|
||||
@NotNull
|
||||
Material updateMaterial(@NotNull final ItemMeta meta, @NotNull final Material material) throws IllegalArgumentException;
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.inventory.meta.tags.CustomItemTagContainer;
|
||||
import org.bukkit.persistence.PersistentDataHolder;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -392,9 +393,9 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
|
||||
* Internal use only! Do not use under any circumstances!
|
||||
*
|
||||
* @param version version
|
||||
* @deprecated internal use only
|
||||
* @apiNote internal use only
|
||||
*/
|
||||
@Deprecated
|
||||
@ApiStatus.Internal
|
||||
void setVersion(int version);
|
||||
|
||||
@SuppressWarnings("javadoc")
|
||||
|
||||
Reference in New Issue
Block a user