Class WolfAttackExecutor

java.lang.Object
cn.nukkit.entity.ai.executor.MeleeAttackExecutor
cn.nukkit.entity.ai.executor.WolfAttackExecutor
All Implemented Interfaces:
EntityControl, IBehaviorExecutor

@PowerNukkitXOnly @Since("1.19.30-r1") public class WolfAttackExecutor extends MeleeAttackExecutor
狼执行攻击,会带有狼的动画,以及攻击过程中狼还会看向携带食物的玩家.

The wolf performs an attack with a wolf animation, as well as during the attack the wolf will also look at the player carrying food.