Data Packs Game Mechanic

Stealth Mechanics

    • 46 views • 46 today
    • 1 downloads • 1 today
    • 1
    • 0
    ThirtyFangs
    Level 62 : High Grandmaster Hero
    120

    Stealth Mechanics


    This datapack allows you to place & configure rotating projectors, with custom actions when a player get spotted by the projector!
    Place it with /function stealth_mechanics:place_projector
    To remove a projector, do /function stealth_mechanics:remove_nearest_projector

    Example


    Preview

    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>

    For example: /execute as @a[​tag=spotted] at @s run teleport @s X Y Z (prison coordinate) or /execute as @a[​tag=spotted] at @s run summon zombie ~ ~ ~
    CompatibilityMinecraft 1.21
    toMinecraft 26.1
    Tags

      Have something to say?

    Welcome