34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
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
|
|
|