From de33ade0af5ef624a69fb190a9910174d359184f Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 23 Nov 2018 11:41:32 +1100 Subject: Remove some draft API designations --- src/main/java/org/bukkit/entity/Player.java | 2 -- src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java | 2 -- src/main/java/org/bukkit/inventory/FurnaceRecipe.java | 4 ---- src/main/java/org/bukkit/scoreboard/RenderType.java | 3 --- 4 files changed, 11 deletions(-) diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index a0401a3e..769b997b 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -1468,9 +1468,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM * communicated this information, * * @return client view distance as above - * @deprecated draft API */ - @Deprecated public int getClientViewDistance(); /** diff --git a/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java b/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java index 3b18520f..e77daed9 100644 --- a/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java @@ -12,9 +12,7 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable { /** * Represents the default possible outcomes of this event. - * @deprecated draft API */ - @Deprecated public enum BedEnterResult { /** * The player will enter the bed. diff --git a/src/main/java/org/bukkit/inventory/FurnaceRecipe.java b/src/main/java/org/bukkit/inventory/FurnaceRecipe.java index 32305662..b3dcef52 100644 --- a/src/main/java/org/bukkit/inventory/FurnaceRecipe.java +++ b/src/main/java/org/bukkit/inventory/FurnaceRecipe.java @@ -122,9 +122,7 @@ public class FurnaceRecipe implements Recipe, Keyed { * * @param input The input choice. * @return The changed recipe, so you can chain calls. - * @deprecated draft API */ - @Deprecated public FurnaceRecipe setInputChoice(RecipeChoice input) { this.ingredient = input; return this; @@ -134,9 +132,7 @@ public class FurnaceRecipe implements Recipe, Keyed { * Get the input choice. * * @return The input choice. - * @deprecated draft API */ - @Deprecated public RecipeChoice getInputChoice() { return this.ingredient.clone(); } diff --git a/src/main/java/org/bukkit/scoreboard/RenderType.java b/src/main/java/org/bukkit/scoreboard/RenderType.java index df267cce..f169f872 100644 --- a/src/main/java/org/bukkit/scoreboard/RenderType.java +++ b/src/main/java/org/bukkit/scoreboard/RenderType.java @@ -2,10 +2,7 @@ package org.bukkit.scoreboard; /** * Controls the way in which an {@link Objective} is rendered client side. - * - * @deprecated draft API */ -@Deprecated public enum RenderType { /** -- cgit v1.2.3