潜行机制
此数据包为地图制作者添加了可旋转的投影仪,可通过 /function stealth_mechanics:place_projector 放置,旨在加入潜行机制。
要移除投影仪,请使用 /function stealth_mechanics:remove_nearest_projector
示例
功能
- 这些投影仪会旋转,但一旦被投影仪发现,便会跟随玩家移动。
- 当玩家被发现时,屏幕上会短暂显示一条提示信息。
配置
如果你希望当玩家被投影仪发现时执行自定义操作,只需在循环命令方块或 tick 函数中编写 /execute as @a[tag=spotted] at @s run <你的命令,你的操作>
如果你希望为每个投影仪设置不同的动作,可以在同一个重复命令方块中添加距离参数(例如:如果在某个特定的投影仪处被捕获,会被传送到 x 位置;但如果在一个更远的投影仪处被捕获,则会被传送到 y 位置)。 /execute as @a[tag=spotted,distance=..30] run <your command>
例如:/execute as @a[tag=spotted,distance=..30] at @s run teleport @s X Y Z(监狱坐标) 或 /execute as @a[tag=spotted,distance=..30] at @s run summon zombie ~ ~ ~ 或者,若要实现被抓时的通用效果,请勿使用 "distance="
Stealth Mechanics
This datapack for mapmakers adds rotating projector, placeable with /function stealth_mechanics:place_projector, aiming to add stealth mechanics. To remove a projector, do /function stealth_mechanics:remove_nearest_projector
Example
Features
- Those projectors are rotating, but will follow the player's movement once getting spotted by the projector.
- A message to the player saying he got spotted will appear temporarily.
Configuration
If you want a custom actions to happen when a player get spotted by a projector, simply write in a repeating command block, or in a tick function, /execute as @a[tag=spotted] at @s run <your command, your action> You can add the distance paremeter in the same repeating command block if you want a different actions per projector (for example, if you get caught at a specific projector, you get teleported at x place, but if you get caught on another further away, you get teleported to y place) /execute as @a[tag=spotted,distance=..30] run <your command>
For example: /execute as @a[tag=spotted,distance=..30] at @s run teleport @s X Y Z (prison coordinate) or /execute as @a[tag=spotted,distance=..30] at @s run summon zombie ~ ~ ~ Or for universal effect for getting caught, don't use the "distance="
下载 Stealth Mechanics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stealth Mechanics
下载 Stealth Mechanics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stealth Mechanics
下载 Stealth Mechanics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stealth Mechanics
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
为下界添加了名为“贝尔泽布城堡”的新闻结构,以及新的 Boss、新工具、新物品、新敌人和新音乐唱片!
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
评论 0
登录后参与评分
还没有评论,来抢沙发吧