Add ArmorStand Marker NBT API
This commit is contained in:
parent
d167eb42de
commit
9012499383
2 changed files with 86 additions and 0 deletions
34
Spigot-API-Patches/0011-Add-ArmorStand-Marker-NBT-API.patch
Normal file
34
Spigot-API-Patches/0011-Add-ArmorStand-Marker-NBT-API.patch
Normal file
|
@ -0,0 +1,34 @@
|
|||
From 6271c78a73f37bbbbacb527db1f4b772ebddae01 Mon Sep 17 00:00:00 2001
|
||||
From: Anonymoose <MrAnonHimself@anon.life>
|
||||
Date: Sun, 3 May 2015 17:44:20 -0500
|
||||
Subject: [PATCH] Add ArmorStand Marker NBT API
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
index b323e73..5b6623c 100644
|
||||
--- a/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
+++ b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
@@ -258,4 +258,20 @@ public interface ArmorStand extends LivingEntity {
|
||||
* @param small whether this is scaled down
|
||||
*/
|
||||
void setSmall(boolean small);
|
||||
+
|
||||
+ /**
|
||||
+ * Returns whether this armor stand has a small
|
||||
+ * bounding box. This gets the NBT Marker tag
|
||||
+ *
|
||||
+ * @return whether the bounding box is small or not
|
||||
+ */
|
||||
+ boolean isSmallBoundingBox();
|
||||
+
|
||||
+ /**
|
||||
+ * Sets whether this armor stand should have a small
|
||||
+ * bounding box. This sets the NBT Marker tag
|
||||
+ *
|
||||
+ * @param small whether the bounding box is small or not
|
||||
+ */
|
||||
+ void setSmallBoundingBox(boolean small);
|
||||
}
|
||||
--
|
||||
1.9.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue