Stealth Mechanics
This datapack allows you to place & configure rotating projectors/search lights, with custom actions when a player get spotted by the projector!
介绍
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
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
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 支持哪些 Minecraft 版本?
Stealth Mechanics 支持 Minecraft Java 版 1.21.10–26.3,共 7 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Stealth Mechanics 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
ThirtyFangs 的其他作品
查看全部 →
Waterfall Particles
这个数据包为瀑布添加了粒子效果。
Better Nature
这个主要为客户端模组,为树木添加蘑菇、昆虫、3D树叶、新植物和新动物,且兼容原版客户端。
Wild Animals
这个数据包加入了大象、水母、鲨鱼等生物,而且不会给服务端造成卡顿!无需资源包
Improved/More Biomes
此数据包改进并添加了20多个新生物群系,如附魔森林或峡谷!支持26.1版本的自定义光照颜色。
评论
登录后评论和评分