mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
This commit is contained in:
parent
955a2a43a2
commit
95a9781863
1 changed files with 16 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue