您的当前位置:游戏狗 > 我的世界 > 正文

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

2016-01-20 17:30:40来源:游戏狗整理编辑:MCBBS

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

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

首先 让我们输入/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:generic.attackDamage,Base:5},

{Name:generic.maxHealth,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:generic.attackDamage,Base:5},

{Name:generic.maxHealth,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:generic.attackDamage,Name:G},

{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:-0.03,AttributeName:generic.movementSpeed,Name:S},

{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:1,AttributeName:generic.maxHealth,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]

}

}


最终的效果图:

相关新闻

©游戏狗 Gamedog.cn 北京手游天下数字娱乐科技股份有限公司 版权所有
安全百店 ANVA自律组
游戏狗微信关注游戏狗订阅号