From 95a9781863dad11679d06414c9c6df27d5c86b6c Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 8 Jun 2015 13:05:05 -0700 Subject: [PATCH] SPIGOT-973: Add marker API to ArmorStand By: Nathan Wolf --- .../main/java/org/bukkit/entity/ArmorStand.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java b/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java index b323e73580..ad77d59009 100644 --- a/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java +++ b/paper-api/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 is a marker, + * meaning it has a very small collision box + * + * @return whether this is a marker + */ + boolean isMarker(); + + /** + * Sets whether this armor stand is a marker, + * meaning it has a very small collision box + * + * @param marker whether this is a marker + */ + void setMarker(boolean marker); }