-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
This server is running CraftBukkit version git-Spigot-492a779-83af86d (MC: 1.15.1) (Implementing API version 1.15.1-R0.1-SNAPSHOT)
-
Yes
Usecase: A plugin spawns stationary NoAI raider mobs as NPCs. However, during a nearby raid mobs participating in a raid will recruite nearby other raider mobs to join the raid (see PathfinderGoalRaid), and raider mobs themselves will also periodically check for a nearby raid to join (see EntityRaider#movementTick). Minecraft's EntityRaider mob has a property "CanJoinRaid" which allows toggling whether the mob can join raids.
Would it be possible to expose this 'CanJoinRaid' property of EntityRaider in Bukkit's Raider?
I.e: Raider#isCanJoinRaid and #setCanJoinRaid
Those would map to EntityRaider#eD() and EntityRaider#u(boolean)