Package net.minestom.server.entity.ai.goal
package net.minestom.server.entity.ai.goal
-
ClassDescriptionAllows entity to perform both melee and ranged attacks.Attacks the entity's target (
EntityCreature.getTarget()
) OR the closest entity which can be targeted with the entityTargetSelector
.The function used to generate a projectile.