找回密码
 加入最MC
搜索
热搜: 活动 交友 discuz
查看: 1085|回复: 5

制作自义定村民交易代码,不知道能不能用

[复制链接]
发表于 2015-11-21 20:16:42 | 显示全部楼层 |阅读模式
先发一个“钢铁板砖”
/summon Villager ~ ~1 ~
{Profession:3,
CustomName:"武器商人",CustomNameVisible:1,
Attributes:[{Name:generic.maxHealth,Base:20}],
Offers:{Recipes:[

}/summon Villager ~ ~1 ~
{Profession:3,
CustomName:"武器商人",CustomNameVisible:1,
Attributes:[{Name:generic.maxHealth,Base:20}],
Offers:{Recipes:[
{maxUses:9999,
buy:{id:265,Count:54,Damage:0},
sell:{id:336,Count:1,Damage:0,Damage:200S,tag:{AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:10,AttributeName:generic.attackDamage,Name:G},
{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:100,AttributeName:generic.followRange,Name:Z},
{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10,AttributeName:generic.knockbackResistance,Name:J},
{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:0.1,AttributeName:generic.movementSpeed,Name:S},
{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:5,AttributeName:generic.maxHealth,Name:H},
],
display:{Name:"钢铁板砖",Lore:["钢铁做的板砖,威力无穷!!!"],color:},
ench:[{id:16,lvl:20},
{id:19,lvl:10},
{id:21,lvl:10},
{id:34,lvl:10},
],StoredEnchantments:[{id:16,lvl:20},
{id:19,lvl:10},
{id:21,lvl:10},
{id:34,lvl:10},
],}
}},

]}

}

 楼主| 发表于 2015-11-21 20:17:32 | 显示全部楼层
我去,发错了!是这个。
}/summon Villager ~ ~1 ~
{Profession:3,
CustomName:"武器商人",CustomNameVisible:1,
Attributes:[{Name:generic.maxHealth,Base:20}],
Offers:{Recipes:[
{maxUses:9999,
buy:{id:265,Count:54,Damage:0},
sell:{id:336,Count:1,Damage:0,Damage:200S,tag:{AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:10,AttributeName:generic.attackDamage,Name:G},
{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:100,AttributeName:generic.followRange,Name:Z},
{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10,AttributeName:generic.knockbackResistance,Name:J},
{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:0.1,AttributeName:generic.movementSpeed,Name:S},
{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:5,AttributeName:generic.maxHealth,Name:H},
],
display:{Name:"钢铁板砖",Lore:["钢铁做的板砖,威力无穷!!!"],color:},
ench:[{id:16,lvl:20},
{id:19,lvl:10},
{id:21,lvl:10},
{id:34,lvl:10},
],StoredEnchantments:[{id:16,lvl:20},
{id:19,lvl:10},
{id:21,lvl:10},
{id:34,lvl:10},
],}
}},

]}

}
 楼主| 发表于 2015-11-21 20:22:52 | 显示全部楼层
”发硬的法式面包“在此!!!代码:
}/summon Villager ~ ~1 ~
{Profession:0,
CustomName:"食物商人",CustomNameVisible:1,
Attributes:[{Name:generic.maxHealth,Base:20}],
Offers:{Recipes:[
{maxUses:9999,
buy:{id:296,Count:32,Damage:0},
sell:{id:297,Count:1,Damage:0,Damage:200S,tag:{AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:30,AttributeName:generic.attackDamage,Name:G},
{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:100,AttributeName:generic.followRange,Name:Z},
{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10,AttributeName:generic.knockbackResistance,Name:J},
{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:0.1,AttributeName:generic.movementSpeed,Name:S},
{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:5,AttributeName:generic.maxHealth,Name:H},
],
display:{Name:"硬硬的法式面包",Lore:["不知道是什么原因,这个面包居然有火焰附加的能力??!!!"],color:},
ench:[{id:16,lvl:50},
{id:21,lvl:20},
{id:20,lvl:300},
{id:19,lvl:5},
],StoredEnchantments:[{id:16,lvl:50},
{id:21,lvl:20},
{id:20,lvl:300},
{id:19,lvl:5},
],}
}},

]}

}
 楼主| 发表于 2015-11-21 20:35:14 | 显示全部楼层
看,水里有条咸鱼!代码:

}/summon Villager ~ ~1 ~
{Profession:4,
CustomName:"神秘的渔夫",CustomNameVisible:1,
Attributes:[{Name:generic.maxHealth,Base:20}],
Offers:{Recipes:[
{maxUses:64,
buy:{id:346,Count:1,Damage:0},
buyB:{id:346,Count:1,Damage:0},
sell:{id:349,Count:1,Damage:0,Damage:10S,tag:{AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:50,AttributeName:generic.attackDamage,Name:G},
{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:100,AttributeName:generic.followRange,Name:Z},
{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:1,AttributeName:generic.knockbackResistance,Name:J},
{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:0.1,AttributeName:generic.movementSpeed,Name:S},
{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:5,AttributeName:generic.maxHealth,Name:H},
],
display:{Name:"一条咸鱼",Lore:["一条特别厉害的咸鱼,让它当鱼简直屈才了!"],color:},
ench:[{id:16,lvl:30},
{id:21,lvl:10},
{id:19,lvl:20},
{id:34,lvl:20},
{id:35,lvl:3000},
],StoredEnchantments:[{id:16,lvl:30},
{id:21,lvl:10},
{id:19,lvl:20},
{id:34,lvl:20},
{id:35,lvl:3000},
],}
}},

]}

}
发表于 2015-12-11 22:25:52 | 显示全部楼层
不知道能不能用你发出来干嘛
发表于 2015-12-11 23:31:24 | 显示全部楼层
这孩子是在水吗0.0
您需要登录后才可以回帖 登录 | 加入最MC

本版积分规则

Archiver|手机版|小黑屋|最MC论坛 ( 粤ICP备12035413号 )

GMT+8, 2026-12-1 04:07 , Processed in 0.018459 second(s), 18 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表