Forge1.20.1击杀Custom NPC模组的NPC时只会显示自定义npc
已解决
描述:
在使用Custom NPC与此mod游玩时,击杀Custom NPC不会显示NPC的名字,而是直接显示‘自定义NPC’
去看了下[[BK]击杀播报 (Broadcast Killing)](https://www.mcmod.cn/class/21802.html)的github,貌似可以通过entity.getName().getString()的方法来获取CNPC的名字
环境是1.20.1Forge+CNPC非官方(20250830版)+GD656 1.00RC5-1.20.1-forge
去看了下[[BK]击杀播报 (Broadcast Killing)](https://www.mcmod.cn/class/21802.html)的github,貌似可以通过entity.getName().getString()的方法来获取CNPC的名字
环境是1.20.1Forge+CNPC非官方(20250830版)+GD656 1.00RC5-1.20.1-forge
由 liuziheng123
于 2025-11-07 19:10 提交
解决时间:
2025-11-13 14:26:26
评论 (0)
暂无评论,快来发表第一条评论吧!
登录后可以参与评论和讨论
登录后评论