返回首页

我的世界怎么做一个增加生命的盔甲?

122 2024-06-11 13:50 admin

1./summonEnderDragon (x坐标,y坐标,z坐标)

{Riding:{id:Minecart}}

------------固定末影龙指令

2./setblock (xyz坐标) (方块)

-------------添加方块指令

3./summon (生物名字) (XYZ坐标) {Riding:{id:Minecart}}

-------------------生物坐矿车指令

4./give @pminecraft:diamond_sword 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack}]}

/give @pminecraft:diamond_sword 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:Knockback},

{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:1000.0,AttributeName:generic.followRange,Name:Follow},

{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1000.0,AttributeName:generic.maxHealth,Name:Health},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}]}

------------------自定义装备指令

5./give @pminecraft:diamond_sword 1 0

{ench:[{id:16,lvl:5}]} ——单个附魔

/give @pminecraft:diamond_chestplate 1 0

{ench:[{id:0,lvl:10},{id:1,lvl:10},{id:18,lvl:10},{id:3,lvl:10},{id:4,lvl:10},{id:5,lvl:10},{id:6,lvl:10},{id:7,lvl:10}]} ——多个附魔

/give @aminecraft:diamond_sword 1 0

{ench:[{id:16,lvl:90000},{id:17,lvl:90000},{id:18,lvl:90000},{id:19,lvl:90000},{id:20,lvl:90000},{id:21,lvl:10},{id:34,lvl:90000}],

AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Damage},

{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],

display:{Name:OPSword,Lore:[PotatoMaster101's Super Enchant Weapon Set -,Sword]}} ——剑

/give @aminecraft:diamond_boots 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},

{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],

ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:2,lvl:90000},{id:34,lvl:90000}],

display:{Name:OPBoots,Lore:[PotatoMaster101's Super Enchant Armor Set -,Boots]}} ——鞋子

/give @aminecraft:diamond_leggings 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},

{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],

ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:34,lvl:90000}],

display:{Name:OPLeggings,Lore:[PotatoMaster101's Super Enchant Armor Set -,Leggings]}} ——裤子

/give @aminecraft:diamond_helmet 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health}],

ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}],

display:{Name:OPHelmet,Lore:[PotatoMaster101's Super Enchant Armor Set -,Helmet]}} ——头盔

/give @aminecraft:bow 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],

ench:[{id:48,lvl:90000},{id:49,lvl:90000},{id:50,lvl:90000},{id:51,lvl:90000},{id:34,lvl:90000}],

display:{Name:OPBow,Lore:[PotatoMaster101's Super Enchant Weapon Set -,Bow]}} ——弓箭

/give @aminecraft:skull 1 3

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1000.0,AttributeName:generic.maxHealth,Name:Health},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],

SkullOwner:PotatoMaster101,display:{Name:OPSkull,Lore:[PotatoMaster101's Super Enchant Armor Set -,Skull]},

ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}]} ——头颅

/give @aminecraft:diamond_pickaxe 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:4500000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.05,AttributeName:generic.movementSpeed,Name:Speed}],

display:{Name:OPPickaxe,Lore:[PotatoMaster101's Super Enchant Tool Set -,Pickaxe]},

ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]} ——稿子

/give @aminecraft:diamond_axe 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:5000000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],

display:{Name:OPAxe,Lore:[PotatoMaster101's Super Enchant Tool Set -,Axe]},

ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]} ——斧头

/give @aminecraft:diamond_shovel 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:3500000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:6500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],

display:{Name:OPShovel,Lore:[PotatoMaster101's Super Enchant Tool Set -,Shovel]},

ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]} ——铲子

/give @aminecraft:blaze_rod 1 0

{ench:[{id:16,lvl:90000},{id:17,lvl:90000},{id:18,lvl:90000},{id:19,lvl:90000},{id:20,lvl:90000},{id:21,lvl:10}],

AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Damage},

{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],

display:{Name:DeathRod,Lore:[PotatoMaster101's Super Enchant Weapon Set -,Rod]}} ——烈焰棒

/give @aminecraft:pumpkin 1 0

{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},

{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},

{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:350.0,AttributeName:generic.maxHealth,Name:Health},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.25,AttributeName:generic.movementSpeed,Name:Speed}],display:{Name:OPPumpkin,Lore:[PotatoMaster101's Super Enchant Armor Set -,Pumpkin]},

ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}]} ——南瓜

----------------自定义附魔指令

6.setblock ~ ~1 ~minecraft:chest 0 replace

{Items:[{id:264,Slot:0,Count:5}]}——单个物品

/setblock ~ ~1 ~minecraft:chest 0 replace

{Items:[{id:364,Count:5,Slot:0},

{id:311,Slot:1,Count:1},

{id:95,Count:64,Slot:2,Damage:5}]}——多个物品

-----------------自定义物品箱子

7./summon Villager ~~1 ~

{Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1}}]}}——单次交易

/summon Villager ~~1 ~

{Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1}},

{maxUses:9999999,buy:{id:331,Count:1},sell:{id:98,Count:1,Damage:3}},

{maxUses:9999999,buy:{id:103,Count:1},sell:{id:86,Count:1}},

{maxUses:9999999,buy:{id:80,Count:1},sell:{id:79,Count:1}}]}}——多个交易

/summon Villager ~~1 ~

{Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1,tag:{ench:[xxx],AttributeModifiers:[xxx]}}}]}}——交易附魔装备

----------------自定义村民交易

8./setblock ~ ~1 ~minecraft:mob_spawner 0 replace

{EntityId:Cow}——普通生物

/setblock ~ ~1 ~minecraft:mob_spawner 0 replace

{EntityId:Cow,SpawnCount:2,SpawnRange:6,RequiredPlayerRange:128,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,MaxNearbyEntities:20,

SpawnPotentials:[{Type:Pig,Weight:1}]}——多种生物

/setblock ~ ~1 ~minecraft:mob_spawner 0 replace

{EntityId:Zombie,SpawnCount:2,SpawnRange:6,RequiredPlayerRange:128,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,MaxNearbyEntities:20,SpawnData:{Equipment:[{id:1,Count:1}],Pos:[1,1,1]}}——装备生物

------------------自定义刷怪笼

8.MC指令ID代码

---------------转自中文论坛(忘了网址)命令方块,慢慢找