From 511827f499eff453c8eaae1ca191213bfe780ff5 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 23 Nov 2018 11:41:32 +1100 Subject: [PATCH] Remove some draft API designations By: md_5 --- paper-api/src/main/java/org/bukkit/entity/Player.java | 2 -- .../java/org/bukkit/event/player/PlayerBedEnterEvent.java | 2 -- .../src/main/java/org/bukkit/inventory/FurnaceRecipe.java | 4 ---- paper-api/src/main/java/org/bukkit/scoreboard/RenderType.java | 3 --- 4 files changed, 11 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index a0401a3e21..769b997b01 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java index 3b18520f49..e77daed9e2 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/inventory/FurnaceRecipe.java b/paper-api/src/main/java/org/bukkit/inventory/FurnaceRecipe.java index 3230566297..b3dcef520e 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/FurnaceRecipe.java +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/scoreboard/RenderType.java b/paper-api/src/main/java/org/bukkit/scoreboard/RenderType.java index df267ccec9..f169f8726d 100644 --- a/paper-api/src/main/java/org/bukkit/scoreboard/RenderType.java +++ b/paper-api/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 { /**