许可优化
许可优化
产品
产品
解决方案
解决方案
服务支持
服务支持
关于
关于
软件库
当前位置:服务支持 >  软件文章 >  MCBE极简化无实体也能随机nx拔刀剑成品展示详细讲解

MCBE极简化无实体也能随机nx拔刀剑成品展示详细讲解

阅读数 1
点赞 0
article_banner


『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

这些参数决定弧线长短,偏心程度,偏移角度等


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删

相关文章
技术文档
QR Code
微信扫一扫,欢迎咨询~
customer

online

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 board-phone 155-2731-8020
close1
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

姓名不为空

姓名不为空
手机不正确

手机不正确

手机不正确
公司不为空

公司不为空

公司不为空