本帖最后由 吹风机客户 于 2019-7-25 03:21 编辑
指令
指令
和图片一样下界之星放进去村民的交易栏上后一旦尝试交易 背包里会闪一下被交易物皮革头盔然后又恢复图片里的样子 下界之星也没被消耗掉
请问是这里哪里写得有问题,该怎么解决
指令
/summon minecraft:villager ~ ~ ~ {CustomName:"{\"text\":\"神器防具\"}",Tags:["sqfj"],NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,Rotation:[-90f],Profession:1,Offers:{Recipes:[ {maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_helmet",Count:1b,tag:{display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.armor",Name:"CBC"}], Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}}]}}
2021.12 数据,可能有更多内容
和图片一样下界之星放进去村民的交易栏上后一旦尝试交易背包里会闪一下被交易物皮革头盔然后又恢复图片里的样子 下界之星也没被消耗掉 请问是这里哪里写得有问题,该怎么解决指令
/summon minecraft:villager ~ ~ ~ {CustomName:"{\"text\":\"神器防具\"}",Tags:["sqfj"],NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,Rotation:[-90f],Profession:1,Offers:{Recipes:[ {maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_helmet",Count:1b,tag:{display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.armor",Name:"CBC"}], Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}}]}}
你用的是1.13的MOD吧
MC君1001 发表于 2019-7-25 09:34
你用的是1.13的MOD吧
我寻思着这不是原版指令吗?
本帖最后由 FHC红石 于 2019-7-25 13:48 编辑
我试了下你的指令……没有你说的情况,可以正常交易,你不会是下界之星有问题吧?
/give @a minecraft:nether_star{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}} 1
如果还不行存档发出来看看?
我用的是1.14.3,推荐你用比较新的版本,BUG少
我试了下你的指令……没有你说的情况,可以正常交易,你不会是下界之星有问题吧?
/give @a minecraft:nether_star{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}} 1
如果还不行存档发出来看看?
我用的是1.14.3,推荐你用比较新的版本,BUG少
本帖最后由 吹风机客户 于 2019-7-25 14:47 编辑
我也是1.14.3啊
下界之星是直接 give @p nether_star{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}}
后面nbt都是直接复制黏贴的 为什么就是不行啊 好气啊
FHC红石 发表于 2019-7-25 13:47
我试了下你的指令……没有你说的情况,可以正常交易,你不会是下界之星有问题吧?
/give @a minecraft:neth ...
我也是1.14.3啊

下界之星是直接 give @p nether_star{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}}
后面nbt都是直接复制黏贴的 为什么就是不行啊 好气啊
吹风机客户 发表于 2019-7-25 14:45
我也是1.14.3啊
下界之星是直接 give @p nether_star{display:{Name:"{\"text\":\"神器\",\"colo ...
你把sell复制进去了啊!!!!!所以错了啊,用我给你的
FHC红石 发表于 2019-7-25 14:46
你把sell复制进去了啊!!!!!所以错了啊,用我给你的
sell复制进去只是我和你打字时复制错了

我现在发现一个问题 其实我是弄了16个装备出售
我现在问题这里只卖一个装备好像是可以的 但是16个齐全了后就是和我问题一样不能交易了
吹风机客户 发表于 2019-7-25 14:54
sell复制进去只是我和你打字时复制错了 别在意
我现在发现一个问题 其实我是弄了16个装 ...
这是我用的 问题只是截了第一段交易出来
/summon minecraft:villager -2201 71 -3894 {CustomName:"{\"text\":\"神器防具\"}",Tags:["sqfj"],NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,Rotation:[-90f],Profession:1,Offers:{Recipes:[ {maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_helmet",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_chestplate",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63241,UUIDMost:63241,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63241,UUIDMost:63241,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63241,UUIDMost:63241,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_leggings",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63242,UUIDMost:63242,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63242,UUIDMost:63242,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63242,UUIDMost:63242,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:leather_boots",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63243,UUIDMost:63243,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63243,UUIDMost:63243,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63243,UUIDMost:63243,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防摔套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:feather_falling",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:chainmail_helmet",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63244,UUIDMost:63244,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63244,UUIDMost:63244,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63244,UUIDMost:63244,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防爆套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:blast_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:chainmail_chestplate",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63245,UUIDMost:63245,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63245,UUIDMost:63245,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63245,UUIDMost:63245,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防爆套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:blast_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:chainmail_leggings",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63246,UUIDMost:63246,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63246,UUIDMost:63246,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63246,UUIDMost:63246,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防爆套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:blast_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:chainmail_boots",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63247,UUIDMost:63247,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63247,UUIDMost:63247,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63247,UUIDMost:63247,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防爆套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:blast_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:iron_helmet",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63248,UUIDMost:63248,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63248,UUIDMost:63248,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63248,UUIDMost:63248,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防射套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:projectile_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:iron_chestplate",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63249,UUIDMost:63249,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63249,UUIDMost:63249,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63249,UUIDMost:63249,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防射套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:projectile_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:iron_leggings",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:6325,UUIDMost:6325,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:6325,UUIDMost:6325,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:6325,UUIDMost:6325,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防射套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:projectile_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:iron_boots",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63251,UUIDMost:63251,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63251,UUIDMost:63251,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63251,UUIDMost:63251,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防射套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:projectile_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:golden_helmet",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63252,UUIDMost:63252,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63252,UUIDMost:63252,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63252,UUIDMost:63252,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防火套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:fire_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:golden_chestplate",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63253,UUIDMost:63253,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63253,UUIDMost:63253,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63253,UUIDMost:63253,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防火套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:fire_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:golden_leggings",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63254,UUIDMost:63254,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63254,UUIDMost:63254,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63254,UUIDMost:63254,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防火套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:fire_protection",lvl:5}]}}},{maxUses:999999,max:null,uses:0,buy:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:"{\"text\":\"神器\",\"color\":\"red\"}"}}},sell:{id:"minecraft:golden_boots",Count:1b,tag:{AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:63255,UUIDMost:63255,AttributeName:"generic.maxHealth",Name:"CBC"},{Operation:1,Amount:0.1,UUIDLeast:63255,UUIDMost:63255,AttributeName:"generic.movementSpeed",Name:"CBC"},{Operation:0,Amount:5,UUIDLeast:63255,UUIDMost:63255,AttributeName:"generic.armor",Name:"CBC"}],display:{Name:"{\"text\":\"防火套\",\"color\":\"red\"}"},Unbreakable:1,HideFlags:2,Enchantments:[{id:"minecraft:fire_protection",lvl:5}]}}}]}}
吹风机客户 发表于 2019-7-25 14:55
这是我用的 问题只是截了第一段交易出来
额等等 起了个怪了 为什么我在前几个交易的Unbreak前面加个空格就都能用了
FHC红石 发表于 2019-7-25 15:08
我16个装备全部交易过去没问题啊??
你要不然发存档给我?
我起了个怪了 现在加空格又不行了 我是在服务器里弄的
吹风机客户 发表于 2019-7-25 15:14
我起了个怪了 现在加空格又不行了 我是在服务器里弄的
可能是服务器插件/MOD问题……这个就不属于原版范畴了
FHC红石 发表于 2019-7-25 15:15
可能是服务器插件/MOD问题……这个就不属于原版范畴了
不用了 我找到原因了 是tm这个商店插件的问题
不知道为什么指令出来的这个下界之星商店插件卖出来的就是不一样不能用 不过还是谢谢了