Cleanup javadoc warnings for 1.13
This commit is contained in:
parent
039d6f2f75
commit
98d4ba9dce
4 changed files with 52 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
From 252df7b3e431a46b2c623727bb2b2e74671a7a07 Mon Sep 17 00:00:00 2001
|
||||
From bd1bf2ef9b17f194f63a15d670410bdf8aa508e6 Mon Sep 17 00:00:00 2001
|
||||
From: willies952002 <admin@domnian.com>
|
||||
Date: Thu, 26 Jul 2018 02:22:44 -0400
|
||||
Subject: [PATCH] Expand ArmorStand API
|
||||
|
@ -8,7 +8,7 @@ Add the following:
|
|||
- Enable/Disable slot interactions
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
index 859f166fb..4285f67fe 100644
|
||||
index 859f166fb..eda4873d5 100644
|
||||
--- a/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
+++ b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
@@ -1,5 +1,6 @@
|
||||
|
@ -44,7 +44,7 @@ index 859f166fb..4285f67fe 100644
|
|||
void setItemInHand(ItemStack item);
|
||||
|
||||
/**
|
||||
@@ -291,5 +302,67 @@ public interface ArmorStand extends LivingEntity {
|
||||
@@ -291,5 +302,69 @@ public interface ArmorStand extends LivingEntity {
|
||||
* @param tick {@code true} if this armour stand can tick, {@code false} otherwise
|
||||
*/
|
||||
void setCanTick(final boolean tick);
|
||||
|
@ -54,6 +54,7 @@ index 859f166fb..4285f67fe 100644
|
|||
+ * equip in the given equipment slot
|
||||
+ *
|
||||
+ * @param slot the equipment slot to get
|
||||
+ * @return the ItemStack in the equipment slot
|
||||
+ */
|
||||
+ ItemStack getItem(final org.bukkit.inventory.EquipmentSlot slot);
|
||||
+
|
||||
|
@ -107,6 +108,7 @@ index 859f166fb..4285f67fe 100644
|
|||
+ /**
|
||||
+ * Check if a specific slot is disabled
|
||||
+ *
|
||||
+ * @param slot The slot to check
|
||||
+ * @return {@code true} if the slot is disabled, else {@code false}.
|
||||
+ */
|
||||
+ boolean isSlotDisabled(org.bukkit.inventory.EquipmentSlot slot);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue