分类

首页 > 手游攻略 > 手游问答 > 正文

我的世界超级雪人制作教程 怎么修改命令

作者:小黑游戏   来源:本站整理   日期:2018-01-19 19:32:29

  下面小编为大家带来我的世界超级雪人制作教程,其实就是用命令方块制作出强大的雪人,你可以通过使用命令修改雪人的血量还有攻击属性等等,想DIY自己的雪人保镖吗?那就一起来看看吧!

  编写使用版本: 1.11.2

  说在前面: 此物不适合用在(gamerule mobGriefing=true)时的建筑周围!不要问我为什么!

  Super SnowMan | 超级雪人

  全剧终

  Mentally retarded snowman | 智障雪人

  创建变量用于雪球加强/scoreboard objectives add SFTimer dummy

  雪人位置处有绿宝石方块实体时给雪人添加issp1标签并清除绿宝石方块scoreboard players tag @e[type=Item] add emeraldblock {Item:{id:“minecraft:emerald_block”,Count:1b,Damage:0s},OnGround:1b}

  execute @e[type=Item,tag=emeraldblock] ~ ~ ~ scoreboard players tag @e[type=Snowman,r=1,c=1] add issp1

  execute @e[type=Snowman,tag=issp1] ~ ~ ~ kill @e[type=Item,tag=emeraldblock,r=1,c=1]

  修改雪人最大50生命值,并添加issp标签移除issp1,issp1用来单次执行清除item与修改雪人nbt。[rcb]entitydata @e[type=Snowman,tag=issp1] {Attributes:[0:{Name:“generic.maxHealth”,Base:50.0d},1:{Name:“generic.movementSpeed”,Base:0.2d}],Health:50,ActiveEffects:[{Id:10,Amplifier:0,Duration:50000,ShowParticles:0b}]}

  scoreboard players tag @e[type=Snowman,tag=issp1] add issp

  scoreboard players tag @e[type=Snowman,tag=issp] remove issp1

  复制代码赋予具有issp标签的雪人扔出的雪球isss标签[rcb]

  execute @e[type=Snowman,tag=issp] ~ ~ ~ scoreboard players tag @e[type=Snowball,r=3] add isss

  雪人加强部分:[rcb]

  execute @e[type=Snowman,tag=issp] ~ ~ ~ effect @e[type=!Snowman,r=2] wither 3 3 true

  execute @e[type=Snowman,tag=issp] ~ ~ ~ effect @e[type=!Snowman,r=3] slowness 5 1 true

  execute @e[type=Snowman,tag=issp] ~ ~ ~ /fill ~-1 ~-1 ~-1 ~1 ~1 ~1 air 0 replace packed_ice

  execute @e[type=Snowman,tag=issp] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ snow_layer 0 replace air

  execute @e[type=Snowman,tag=issp] ~ ~ ~ particle flame ~ ~ ~ 0.3 1 0.3 0.01 5 force

  雪球加强部分:[rcb]execute @e[type=Snowball,tag=isss] ~ ~ ~ execute @e[type=!Armor_Stand,tag=!isss,r=2] ~ ~ ~ summon Armor_Stand ~ ~ ~ {CustomName:“pice”,NoBasePlate:1,NoGravity:1,Invisible:1}

  scoreboard players add @e[type=Armor_Stand,name=pice] SFTimer 1

  execute @e[type=Armor_Stand,name=pice,score_SFTimer_min=1,score_SFTimer=10] ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ packed_ice 0 replace air

  execute @e[type=Armor_Stand,name=pice,score_SFTimer_min=79] ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ air 0 replace packed_ice

  kill @e[type=Armor_Stand,name=pice,score_SFTimer_min=80]

  --------------

  execute @e[type=Snowball,tag=isss] ~ ~ ~ execute @e[type=!Snowball,r=2] ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ packed_ice 0 replace air

  execute @e[type=Snowball,tag=isss] ~ ~ ~ effect @e[type=!Snowman,r=2] wither 4 2 true

  scoreboard players add @e[type=Snowman,tag=issp] SFTimer 1

  execute @e[type=Snowman,tag=issp,score_SFTimer_min=150] ~ ~ ~ execute @e[type=Snowball,tag=isss] ~ ~ ~ summon Fireball ~ ~ ~ {direction:[0:0.0,1:0.0,2:0.0],Motion:[0:0.0,1:0.0,2:0.0],ExplosionPower:2}

  scoreboard players set @e[type=Snowman,tag=issp,score_SFTimer_min=188] SFTimer -12

  这里的SFTimer起到一个 延迟循环执行的作用,让zz雪人在某些时段扔出的雪球变为具有伤害和会炸毁建筑的火球并让冰块隔一段时间消失

  拓展

  使雪球拥有更多功能,或使雪人拥有更多技能,例如每隔一段时间用隐形蝙蝠在雪人四周飞行,再每隔一段时间execute 蝙蝠 ~ ~ ~ summon FallingSand ~ ~2 ~ {Block:packed_ice,Time:1,DropItem:0,HurtEntities:0},如果被FS碎冰砸中则无法移动一段时间。。。。[Try more]

Tags:

相关文章

相关下载

猜你喜欢

阅读排行

网友评论

我要跟帖
取消
声明:评论内容只代表网友观点,与本站立场无关!