发布时间:2016-08-02 14:42:08作者:知识屋
我的世界1.8其实有很多神奇的命令代码可以实现,许多玩家可以实现一些酷炫的场景,比如会跟踪的火球,今天小编就为大家带来我的世界1.8怎么发射跟踪火球 火球代码详细一览。
计分板:
scoreboard objectives add fbitem dummy (召唤火球)
scoreboard objectives add fbentity dummy (目标)
1、scoreboard players set @e[type=Item] fbitem 1 {Item:{id:minecraft:fire_charge,Count:1b,tag:{display:{Name:追踪火球,Lore:[Q键使用]},ench:[]}},OnGround:1b}
①检测一个物品(名字:追踪火球,标注:Q键使用,数量:1,被丢在地上,种类:烈焰弹,附魔:[])
②在fbitem设为1分
2、execute @e[score_fbitem_min=1] ~ ~ ~ summon Fireball ~ ~3 ~ {direction:[],ExplosionPower:3,CustomName:fbaa}
①检测fbitem为1分的实体
②召唤火球(名字:fbaa,威力:3
3、execute @e[score_fbitem_min=1] ~ ~ ~ particle lava ~ ~2.5 ~ 0.5 0.5 0.5 1 50 force
加特效
4、kill @e[score_fbitem_min=1,type=Item]
清除fbitem为1的物品
1、scoreboard players reset @e[score_fbentity_min=1] fbentity
给所以fbentity大于等于1的实体清空fbentity计分板
2、scoreboard players set @e[type=Zombie] fbentity 1
将Zombie设为1
3、scoreboard players set @e[type=Creeper] fbentity 1
将Creeper设为1分
4、execute@a~ ~ ~ scoreboard players set @e[c=1,score_fbentity_min=1,score_fbentity=1] fbentity 2
将离玩家最近第一个1分设为2分
(2分就是火球的目标)
当目标在:
-x:execute @e[score_fbentity_min=2] ~2 ~ ~ entitydata @e[type=Fireball,name=fbaa,dx=50,dy=1] {direction:[-1.0,0.0,0.0]}
①检测目标
②让目标x轴2格为起点,一直到目标x轴50格,y轴1格为终点之间的区域的火球向-x的方向移动
x:execute @e[score_fbentity_min=2] ~-2 ~ ~ entitydata @e[type=Fireball,name=fbaa,dx=-50,dy=1] {direction:[1.0,0.0,0.0]}
-z:execute @e[score_fbentity_min=2] ~ ~ ~2 entitydata @e[type=Fireball,name=fbaa,dz=50,dy=1] {direction:[0.0,0.0,-1.0]}
z:execute @e[score_fbentity_min=2] ~ ~ ~-2 entitydata @e[type=Fireball,name=fbaa,dz=-50,dy=1] {direction:[0.0,0.0,1.0]}
-x-z:execute @e[score_fbentity_min=2] ~1 ~ ~1 entitydata @e[type=Fireball,name=fbaa,dx=50,dz=50,dy=1] {direction:[-1.0,0.0,-1.0]}
xz:execute @e[score_fbentity_min=2] ~-1 ~ ~-1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dz=-50,dy=1] {direction:[1.0,0.0,1.0]}
x-z:execute @e[score_fbentity_min=2] ~-1 ~ ~1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dz=50,dy=1] {direction:[1.0,0.0,-1.0]}
-xz:execute @e[score_fbentity_min=2] ~1 ~ ~-1 entitydata @e[type=Fireball,name=fbaa,dx=50,dz=-50,dy=1] {direction:[-1.0,0.0,1.0]}
y:execute @e[score_fbentity_min=2] ~ ~-2 ~ entitydata @e[type=Fireball,name=fbaa,dy=-30] {direction:[0.0,1.0,0.0]}
-y:execute @e[score_fbentity_min=2] ~ ~3 ~ entitydata @e[type=Fireball,name=fbaa,dy=30] {direction:[0.0,-1.0,0.0]}
-xy:execute @e[score_fbentity_min=2] ~1 ~-1 ~ entitydata @e[type=Fireball,name=fbaa,dy=-30,dx=50] {direction:[-1.0,1.0,0.0]}
xy:execute @e[score_fbentity_min=2] ~-1 ~-1 ~ entitydata @e[type=Fireball,name=fbaa,dy=-30,dx=-50] {direction:[1.0,1.0,0.0]}
-x-y:execute @e[score_fbentity_min=2] ~1 ~2 ~ entitydata @e[type=Fireball,name=fbaa,dy=30,dx=50] {direction:[-1.0,-1.0,0.0]}
x-y:execute @e[score_fbentity_min=2] ~-1 ~2 ~ entitydata @e[type=Fireball,name=fbaa,dy=30,dx=-50] {direction:[1.0,-1.0,0.0]}
-zy:execute @e[score_fbentity_min=2] ~ ~-1 ~1 entitydata @e[type=Fireball,name=fbaa,dy=-30,dz=50] {direction:[0.0,1.0,-1.0]}
zy:execute @e[score_fbentity_min=2] ~ ~-1 ~-1 entitydata @e[type=Fireball,name=fbaa,dy=-30,dz=-50] {direction:[0.0,1.0,1.0]
z-y:execute @e[score_fbentity_min=2] ~ ~2 ~-1 entitydata @e[type=Fireball,name=fbaa,dy=30,dz=-50] {direction:[0.0,-1.0,1.0]}
-z-y:execute @e[score_fbentity_min=2] ~ ~2 ~1 entitydata @e[type=Fireball,name=fbaa,dy=30,dz=50] {direction:[0.0,-1.0,-1.0]}
-x-y-z:execute @e[score_fbentity_min=2] ~1 ~2 ~1 entitydata @e[type=Fireball,name=fbaa,dx=50,dy=30,dz=50] {direction:[-1.0,-1.0,-1.0]}
x-y-z:execute @e[score_fbentity_min=2] ~-1 ~2 ~1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dy=30,dz=50] {direction:[1.0,-1.0,-1.0]}
-x-yz:execute @e[score_fbentity_min=2] ~1 ~2 ~-1 entitydata @e[type=Fireball,name=fbaa,dx=50,dy=30,dz=-50] {direction:[-1.0,-1.0,1.0]}
x-yz:execute @e[score_fbentity_min=2] ~-1 ~2 ~-1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dy=30,dz=-50] {direction:[1.0,-1.0,1.0]}
-xy-z:execute @e[score_fbentity_min=2] ~1 ~-1 ~1 entitydata @e[type=Fireball,name=fbaa,dx=50,dy=-30,dz=50] {direction:[-1.0,1.0,-1.0]}
xy-z:execute @e[score_fbentity_min=2] ~-1 ~-1 ~1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dy=-30,dz=50] {direction:[1.0,1.0,-1.0]}
-xyz:execute @e[score_fbentity_min=2] ~1 ~-1 ~-1 entitydata @e[type=Fireball,name=fbaa,dx=50,dy=-30,dz=-50] {direction:[-1.0,1.0,1.0]}
xyz:execute @e[score_fbentity_min=2] ~-1 ~-1 ~-1 entitydata @e[type=Fireball,name=fbaa,dx=-50,dy=-30,dz=-50] {direction:[1.0,1.0,1.0]}
execute @e[type=Fireball,name=fbaa] ~ ~ ~ particle flame ~ ~ ~ 0.1 0.1 0.1 0 8 force
火球移动轨迹特效
2019-07-26
龙族幻想玉藻前面具永久真正靠谱的获得方法
跑跑卡丁车手游自由训练场怎么退出
云顶之弈恶魔流阵容装备攻略
龙族幻想偶像流量指数提升方法
第五人格7月25日更新内容一览
龙族幻想手游NPC炼金部位置介绍
龙族幻想充值遇到错误乱码解决方法
300自走棋高胜率阵容分享
iphone苹果手机怎么玩云顶之弈