SPIGOT-5486: Raider CanJoinRaid

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-12-29 14:21:09 +11:00
parent b4b4ed5f67
commit 588b818f57

View File

@@ -33,4 +33,18 @@ public interface Raider extends Monster {
* @param leader patrol leader status * @param leader patrol leader status
*/ */
void setPatrolLeader(boolean leader); void setPatrolLeader(boolean leader);
/**
* Gets whether this mob can join an active raid.
*
* @return CanJoinRaid status
*/
boolean isCanJoinRaid();
/**
* Sets whether this mob can join an active raid.
*
* @param join CanJoinRaid status
*/
void setCanJoinRaid(boolean join);
} }