如题,1.12.2版本的武器怎么更改攻击距离。
有不要插件的工具https://www.mcmod.cn/tools/不知道1.12.2的能不能弄
参见https://www.mcmod.cn/tools/cbcreator/#/item/可以用原版指令生成一个带有触及半径+几属性的武器等
类似这样子这是给钻石剑的,@p是玩家,Amount:10这个10就是你要修改的半径
/give @p minecraft:diamond_sword 1 0 {AttributeModifiers:[{Operation:0,Amount:10,UUIDLeast:-1923392265454192781L,UUIDMost:2274443757177684888L,AttributeName:"generic.reachDistance",Name:"generic.reachDistance"}]}
类似这样子这是给钻石剑的,@p是玩家,Amount:10这个10就是你要修改的半径
/give @p minecraft:diamond_sword 1 0 {AttributeModifiers:[{Operation:0,Amount:10,UUIDLeast:-1923392265454192781L,UUIDMost:2274443757177684888L,AttributeName:"generic.reachDistance",Name:"generic.reachDistance"}]}
推荐一个付费插件https://yg9xpi4utc.feishu.cn/docx/Z0IYdojfQoB4uUxfV0ocHI9Pnhf
可自定义玩家攻击动作、格挡、自定义攻击范围等
可自定义玩家攻击动作、格挡、自定义攻击范围等