mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-30 19:52:06 -07:00
Add ArmorStand Marker NBT API
This commit is contained in:
32
Spigot-API-Patches/Add-ArmorStand-Marker-NBT-API.patch
Normal file
32
Spigot-API-Patches/Add-ArmorStand-Marker-NBT-API.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
From 0000000000000000000000000000000000000000 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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
+++ b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
@@ -0,0 +0,0 @@ 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);
|
||||
}
|
||||
--
|
Reference in New Issue
Block a user