19游戏网 > 游戏攻略>正文

mc怪物驯服教程让凶猛的怪物变得像只温顺的猫咪

来源:19游戏网编辑:网络转载更新时间:2017-09-15

  我的世界游戏中有着非常非常多的怪物,并且怪物的种类也是非常非常多的,那么如何把凶猛的怪物变成温顺的怪物呢?相信很多人都非常的想知道,那么就请大家一起来看看吧!

  (原作者:MCSugar_cane)

  用法说明

  手持10个骨粉攻击骷髅之后该骷髅将停止所有活动,持续一段时间,在这段时间内,丢弃1个骨头和1个皮革衣服至骷髅即可驯服成功。

  指令

  编写使用版本: 1.11.2

  创建变量

  /scoreboard objectives add canbs dummy

  /scoreboard objectives add SkeletonHurt dummy

  /scoreboard objectives add stimer dummy

  /scoreboard objectives add sitem dummy

  创建队伍并关闭队伍内伤害

  /scoreboard teams add ssc

  /scoreboard teams option ssc friendlyfire false

  探测骷髅是否受伤

  scoreboard players add @e[type=Skeleton] SkeletonHurt 1 {HurtTime:10s}

  最后执行:

  scoreboard players reset @e[score_SkeletonHurt_min=1] SkeletonHurt

  使玩家用10骨粉攻击骷髅时骷髅短时间无法移动并且可驯服

  scoreboard players set @a canbs 1 {SelectedItem:{id:"minecraft:dye",Count:10b,Damage:15s}}

  execute @a[score_canbs_min=1] ~ ~ ~ scoreboard players add @e[type=Skeleton,score_SkeletonHurt_min=1,r=4,c=1] stimer 0

  scoreboard players add @e[type=Skeleton,score_stimer_min=0] stimer 1

  entitydata @e[type=Skeleton,score_stimer_min=0,score_stimer=1] {NoAI:1}

  ---

  scoreboard players tag @e[type=Skeleton,score_stimer_min=0,score_stimer=1] add kinds

  entitydata @e[type=Skeleton,score_stimer_min=120,score_stimer=120] {NoAI:0}

  ---

  scoreboard players tag @e[type=Skeleton,score_stimer_min=120,score_stimer=120] remove kinds

  ---

  scoreboard players reset @e[type=Skeleton,score_stimer_min=121] stimer

  骷髅驯服部分(玩家向骷髅丢弃一个骨头和一件完好的皮革衣服)

  scoreboard players set @e[type=Item] sitem 1 {Item:{id:"minecraft:bone",Count:1b,Damage:0s}}

  ---

  scoreboard players set @e[type=Item] sitem 2 {Item:{id:"minecraft:leather_chestplate",Count:1b,Damage:0s}}

  execute @e[type=Item,score_sitem_min=1,score_sitem=1] ~ ~ ~ execute @e[type=Item,r=1,score_sitem_min=2,score_sitem=2] ~ ~ ~ scoreboard teams join ssc @e[type=Skeleton,tag=kinds,r=1]

  execute @e[type=Item,score_sitem_min=1,score_sitem=1] ~ ~ ~ execute @e[type=Item,r=1,score_sitem_min=2,score_sitem=2] ~ ~ ~ entitydata @e[type=Skeleton,team=ssc,r=2,c=1] {Attributes:[0:{Name:"generic.maxHealth",Base:45.0d}],Health:45,ArmorItems:[0:{},1:{},2:{id:"minecraft:leather_chestplate",Damage:0s,Count:1b,tag:{display:{color:14462535}}},3:{id:"minecraft:skull",Damage:3s,Count:1b,tag:{display:{Name:"MCSugar_cane"},SkullOwner:{Id:"dd1a04d9-49ed-4b34-ab74-a7ba6ee055a9",Properties:{textures:[{Value:"eyJ0aW1lc3RhbXAiOjE0OTc5MzA3NjY1MTksInByb2ZpbGVJZCI6ImRkMWEwNGQ5NDllZDRiMzRhYjc0YTdiYTZlZTA1NWE5IiwicHJvZmlsZU5hbWUiOiJNQ1N1Z2FyX2NhbmUiLCJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmMxNDY4YTJjNzUxNGRlNWQ1ODZkMWNkYWI3Yjk2OWUxZDVhMDFlMWVkNmM2NjE4YmU5NDBiNDY4YjIxIn19fQ=="}]}}}}]}

  execute @e[type=Item,score_sitem_min=1,score_sitem=1] ~ ~ ~ execute @e[type=Item,r=1,score_sitem_min=2,score_sitem=2] ~ ~ ~ /particle heart ~ ~ ~ 0.2 0.8 0.2 0 10

  execute @e[type=Skeleton,team=ssc] ~ ~ ~ kill @e[type=Item,score_sitem_min=0,r=1]

  scoreboard players reset @a[score_canbs_min=1] canbs

  entitydata @e[type=Skeleton,team=ssc] {Anger:32767}

  -----------PARTAI:

19游戏网整理报道

猜你喜欢

口袋妖怪最强进化V3.0最终版图文攻略(全)

王者荣耀最强上分英雄排名玩的好就能上王者

剑网三成就党攻略那些容易快速完成的成就

梦幻西游2奇遇任务维摩诘经变图文详细攻略

绝地求生大逃杀在哪玩?steam购买下载方法介绍

王者荣耀S5赛季露娜连招改版之后真废了吗

奴隶少女希尔薇详细攻略

魔兽世界抑魔金获取方法及用法介绍

王者荣耀赵云大型攻略出装、技能及实战全教程

剑网三最全面抓马攻略套马的汉子才威武!

相关新手卡
热门文章
一周热门文章

健康游戏忠告:抵制不良游戏 拒绝盗版游戏 注意自我保护 谨防受骗上当 适度游戏益脑 沉迷游戏伤身 合理安排时间 享受健康生活

Copyright ◎ 2019 19yxw All Rights Reserved Powered By 19yxw QQ:3618073693