mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 00:52:22 -07:00
SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
This commit is contained in:
@@ -258,4 +258,20 @@ public interface ArmorStand extends LivingEntity {
|
|||||||
* @param small whether this is scaled down
|
* @param small whether this is scaled down
|
||||||
*/
|
*/
|
||||||
void setSmall(boolean small);
|
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user