『MCBE』极简化●无实体随机nx拔刀剑
①《原理》🤔🤔🤔
玩家视角与鱼钩视角组合加上适当调节达到nx弧线效果
②《思路》🧐🧐🧐
>具有玩家以及附近鱼钩标签
>将鱼钩以玩家的视角传送到非法距离,并使鱼钩朝向某个方向
>提取标签实体的视角形成n差曲线
③指令部分😋😋😋
前置实体:什么?!还需要实体?
前置计分板:剑气 随机
Scoreboard objectives add 随机 dummy
主体指令:18cb
(第1个循环红石条件,其余连锁无条件,*为连锁有条件)
execute as@e[type=fishing_hook] at@s run tag @e[c=2] add aa
*Scoreboard players random 剑气 随机 1 10
execute if score 剑气 随机 matches 1 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^5^-5^50
execute if score 剑气 随机 matches 2 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^10^5^50
execute if score 剑气 随机 matches 3 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^-10^5^50
execute if score 剑气 随机 matches 4 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^-5^-5^50
execute if score 剑气 随机 matches 5 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^2^5^50
execute if score 剑气 随机 matches 6 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^5^1^45
execute if score 剑气 随机 matches 7 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^-2^5^50
execute if score 剑气 随机 matches 8 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^3^-1^44
execute if score 剑气 随机 matches 9 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^-3^-1^44
execute if score 剑气 随机 matches 10 as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^40 facing ^-5^1^45
execute as@a[tag=aa] at@s anchored eyes positioned ^^^-1 rotated as@r[tag=aa] positioned ^^^0.25 rotated as@r[tag=aa] positioned ^^^0.5 rotated as@r[tag=aa] positioned ^^^1 rotated as@e[tag=aa] positioned ^^^-1 rotated as@r[tag=aa] positioned ^^^-0.5 rotated as@e[tag=aa] positioned ^^^-0.25 facing entity @s eyes positioned as@s anchored eyes positioned ^^^3 positioned ~~~ run particle minecraft:sparkler_emitter ~~~
execute as@a[tag=aa] at@s anchored eyes positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^0.25 rotated as@e[tag=aa] positioned ^^^0.5 rotated as@e[tag=aa] positioned ^^^0.125 rotated as@e[tag=aa] positioned ^^^1 rotated as@e[tag=aa] positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^-0.5 rotated as@e[tag=aa] positioned ^^^-0.125 rotated as@e[tag=aa] positioned ^^^-0.25 facing entity @s eyes positioned as@s anchored eyes positioned ^^^3 positioned ~~~ run particle minecraft:endrod ^^^
execute as@a[tag=aa] at@s anchored eyes positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^0.5 rotated as@e[tag=aa] positioned ^^^1 rotated as@e[tag=aa] positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^-0.5 facing entity @s eyes positioned as@s anchored eyes positioned ^^^3 positioned ~~~ if entity @e[tag=!aa,r=1.5] run setblock ~~~ amethyst_cluster keep
*execute as@a[tag=aa] at@s anchored eyes positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^0.5 rotated as@e[tag=aa] positioned ^^^1 rotated as@e[tag=aa] positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^-0.5 facing entity @s eyes positioned as@s anchored eyes positioned ^^^3 positioned ~~~ if entity @e[tag=!aa,r=1.5] if block ~~~ amethyst_cluster run setblock ~~~ air destroy
execute as@a[tag=aa] at@s anchored eyes positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^0.25 rotated as@e[tag=aa] positioned ^^^0.5 rotated as@e[tag=aa] positioned ^^^0.125 rotated as@e[tag=aa] positioned ^^^1 rotated as@e[tag=aa] positioned ^^^-1 rotated as@e[tag=aa] positioned ^^^-0.5 rotated as@e[tag=aa] positioned ^^^-0.125 rotated as@e[tag=aa] positioned ^^^-0.25 facing entity @s eyes positioned as@s anchored eyes positioned ^^^3 positioned ~~~ if entity @e[tag=!aa,r=1.5] run damage @e[tag=!aa,r=1.5] 5 entity_attack entity @p[tag=aa]
tag @e remove aa
④8大主体组合
1.方块粒子
brain_coral
/oak_sapling
/blue_ice
/deepslate_redstone_ore
/deepslate_coal_ore
/web
/amethyst_cluster
/dead_brain_coral
2.特效粒子(附加粒子)
electric_spark_particle(cherry_leaves_particle)
basic_crit_particle(totem_manual)
balloon_gas_particle(water_wake_particle)
obsidian_glow_dust_particle(basic_smoke_particle) colored_flame_particle(sculk_soul_particle) wind_charged_ambient(snowflake_particle-1)*注释:-1表示对应~~-1~
dragon_breath_trail(sparkler_emitter) basic_smoke_particle(wax_particle)
⑤自定义剑气(1cb)🤯🤯🤯
execute if score 剑气 随机 matches (分数) as@e[type=fishing_hook] at@s rotated as@a[tag=aa] run tp ^^^a facing ^c^d^b
#a>鱼钩最远距离,b>a
这些参数决定弧线长短,偏心程度,偏移角度等
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删