We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onAttackEntity 监听事件不起做用(失效)
mc.listen("onAttackEntity", ( /**@type {LLSE_Player} 攻击实体的玩家对象*/player, /**@type {LLSE_Entity} 被攻击的实体对象*/entity, /**@type {number} 攻击造成的伤害数值?*/damage ) => { logger.warn(entity.type); logger.warn(player.realName); } )
攻击羊或玩家,控制台没有打印任何信息
onAttackEntity 监听事件正常工作
No response
Win10
1.21.3
0.13.5
0.8.20
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
onAttackEntity 监听事件不起做用(失效)
mc.listen("onAttackEntity", ( /**@type {LLSE_Player} 攻击实体的玩家对象*/player, /**@type {LLSE_Entity} 被攻击的实体对象*/entity, /**@type {number} 攻击造成的伤害数值?*/damage ) => { logger.warn(entity.type); logger.warn(player.realName); } )
攻击羊或玩家,控制台没有打印任何信息
To Reproduce
onAttackEntity 监听事件不起做用(失效)
Expected behavior
onAttackEntity 监听事件正常工作
Screenshots
No response
Platform
Win10
BDS Version
1.21.3
LeviLamina Version
0.13.5
LegacyScriptEngine Version
0.8.20
Additional context
No response
The text was updated successfully, but these errors were encountered: