当前位置:电竞盒>客户端游戏>

我的世界自定义一个钻石装备僵尸实例

电竞盒 人气:3.1W

我的世界自定义一个钻石装备僵尸实例。我们在制作冒险地图或者解密地图中,往往会通过命令方块生成些带有特色的生物,例如大家最常见的全身钻石装备的僵尸。本期教程将通过命令实例讲解。

自定义一个钻石装备僵尸实例:

首先 让我们输入/give 你的名字 137 1获得一个命令方块~

然后右击, 输入/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace

{EntityId:Zombie,

SpawnCount:2,

SpawnRange:2,

RequiredPlayerRange:24,

Delay:10,

MinSpawnDelay:10,

MaxSpawnDelay:100,

MaxNearbyEntities:3,

SpawnData:{

Attributes:[

{Name:ckDamage,Base:5},

{Name:ealth,Base:100},

],

CustomName:"可怕的僵尸~",CustomNameVisible:1,

HealF:100,,DropChances:[1.0f,1.0f,1.0f,1.0f,1.0f]

}

} 这个是仅名字和自定义血的僵尸

MaxSpawnDelay:100,是说明100血CustomName:"可怕的僵尸 是怪物名字Delay:10,

MaxSpawnDelay:100,

MaxNearbyEntities:3,这些是怪物出现频率

现在 让我们制作一个掉装备和带上装备的僵尸

输入

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace

{EntityId:Zombie,

SpawnCount:2,

SpawnRange:2,

RequiredPlayerRange:24,

Delay:10,

MinSpawnDelay:10,

MaxSpawnDelay:100,

MaxNearbyEntities:3,

SpawnData:{

Attributes:[

{Name:ckDamage,Base:5},

{Name:ealth,Base:100},

],

CustomName:"可怕的僵尸~",CustomNameVisible:1,

HealF:100,Equipment:[

{id:268,Count:1,Damage:0,Damage:0S,

tag:{

Unbreakable:1b,

ench:[

{id:48,lvl:15},

],

StoredEnchantments:[

{id:48,lvl:15},

],

AttributeModifiers:[

{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:3,AttributeName:ckDamage,Name:G},

{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:-0.03,AttributeName:mentSpeed,Name:S},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:1,AttributeName:ealth,Name:H}

],

display:{

Name:"僵尸の剑",

Lore:["带有浓浓的。。"],

}

}

},{id:313,Count:1,Damage:0,Damage:0S,

tag:{

Unbreakable:1b,

}

},{id:312,Count:1,Damage:0,Damage:0S,

tag:{

Unbreakable:1b,

}

},{id:311,Count:1,Damage:0,Damage:0S,

tag:{

Unbreakable:1b,

}

},{id:310,Count:1,Damage:0,Damage:0S,

tag:{

Unbreakable:1b,

}

},]

,DropChances:[1.0f,1.0f,1.0f,1.0f,1.0f]

}

}


最终的效果图:

我的世界自定义一个钻石装备僵尸实例