Stealth Mechanics
ModThis datapack allows you to place & configure rotating projectors, with custom actions when a player get spotted by the projector!
Description
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
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="
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
Minecraft Enderman Character Plush
Enderman plush toys, and a reliable gift for a younger player.
LEGO Minecraft Set
Official sets that translate the building side of the game off-screen.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Maisonnette
A decoration mod with a stir of art-deco and a dash of academia
Wizard Companion – Iron's Spells 'n Spellbooks Addon
Adds a customizable allied wizard companion that casts spells, uses equipment, and assists you in combat.
Copper Tools Expanded
Adds copper tools that oxidize through four stages, with attributes that shift as they weather!
Hibernate Fabric
Lets your Minecraft Fabric server snooze when idle, slashing CPU usage without missing a block!
Zombies With Enderpearls
Zombies that can use Ender Pearls to teleport toward their targets.
MenuTune
Make the title screen music universal across all versions!