SmartBrainLib
SmartBrainLib copied to clipboard
A smart brain library for Minecraft mods.
I still need to test this one.
Adds new group behavior used to repeat a behavior (or group of behaviours) a set or random amount of times without the need for a bunch of repeat code
As discussed in Discord. To reproduce spawn a regular & SBL skeleton in survival and just run away.
Didn't have any time to investigate how this occurs. Likely affects other versions.
Vanilla skeletons target and run towards the player if they don't have a bow, whereas the SBL skeleton just stands still if it doesn't have a bow equipped. You can...
First thing this PR does is fix an error with this.target being null since in AnimatableMeleeAttack it is set in checkExtraStartConditions which is overridden in LeapAtTarget. The second thing is...