MC百科社群

标题: 怎么用命令方块制作一个攻击力超高的武器 [打印本页]

作者: 2512    时间: 2023-2-7 11:46
标题: 怎么用命令方块制作一个攻击力超高的武器
本帖最后由 2512 于 2023-2-7 11:47 编辑

创造模式想要秒杀血量超高的怪物,不知道咋办,只看到Fabric有这样的秒杀MOD,但是forge没有,自己搞了半天命令方块就是搞不出来,弄出来的钻石剑没有攻击力。

作者: Invisibility    时间: 2023-2-7 18:17
/give @p minecraft:diamond_sword{Damage:1,AttributeModifiers:[{Operation:0,Amount:114514,UUIDLeast:-1177382481276917865L,UUIDMost:2361478992473381884L,AttributeName:"generic.attackDamage",Name:"generic.attackDamage"},{Operation:0,Amount:1919810,UUIDLeast:-1381134296965571354L,UUIDMost:2611421778789342239L,AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed"},{Operation:0,Amount:893,UUIDLeast:-1559541177786189473L,UUIDMost:2444933854281176375L,AttributeName:"generic.maxHealth",Name:"generic.maxHealth"},{Operation:0,Amount:364,UUIDLeast:-1945922999627518585L,UUIDMost:2285834537711129312L,AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance"},{Operation:0,Amount:931,UUIDLeast:-1478934658497268341L,UUIDMost:2935425638848887721L,AttributeName:"generic.armor",Name:"generic.armor"},{Operation:0,Amount:364,UUIDLeast:-1885619936887778961L,UUIDMost:2625664888728865897L,AttributeName:"generic.armorToughness",Name:"generic.armorToughness"},{Operation:0,Amount:5,UUIDLeast:-1356565342911772575L,UUIDMost:2838365198222755221L,AttributeName:"generic.reachDistance",Name:"generic.reachDistance"}],display:{Name:"[{\"text\":\"Diamond Sword\",\"color\":\"dark_purple\",\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}]",Lore:["{\"text\":\"勤用CBCreator,从我做起!\",\"color\":\"dark_purple\",\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}"]},HideFlags:1,Enchantments:[{id:"minecraft:sharpness",lvl:32767s}]} 1
作者: QQ酱402672    时间: 2023-2-17 08:41
/effect add @s strength 114514 255 true
(bushi)




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科