ModsFinder

Targeting

by AndrewCTF

Targeting introduces a new selector, t, that lets a command block act on the specific player who pressed a button or stepped on a pressure plate.

FabricApache License 2.0Open source1.21.11

What it does

Command blocks in vanilla Minecraft run when a button, pressure plate or other redstone input fires, yet they have no record of which player set that input off. Targeting bridges that gap by binding the triggering player to the command execution, so the command runs with that player as its context. It requires the command block feature from the vanilla game and is published for Fabric on 1.21.11, with the Apache License 2.0 covering the source code.

Mapmakers and server developers often rely on proximity-based selectors such as @p, complex scoreboards or detection loops to approximate the same result. These approaches can be unreliable, inefficient and unnecessarily complex. The t selector gives a single, direct way to name the player who triggered a command, and the mod is also available for Paper servers.

Key features

  1. Triggering player selector

    The t selector resolves to the player whose redstone input activated the command block, so commands target that player only.

  2. Replaces scoreboard workarounds

    A single selector takes the place of proximity checks, scoreboard tags and detection loops used to identify the activating player.

  3. Button activation example

    A button wired to a command block can teleport only the player who pressed it, while @p would pick the nearest player and @a would affect everyone.

  4. Command executor context

    The command executor becomes the activating player, giving commands direct context about what caused them to run.

Compatibility

Latest build for each game version and loader.

1.21.110.1.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Map makers, adventure map creators and server developers who build redstone-triggered command block contraptions and want commands to act on the player who triggered them.

How it compares

Full comparison

Command Popup is a client-side only Fabric mod under the GNU Lesser General Public License v3.0 only, built for 1.21.1, so it changes nothing on the server. cmd command is client-side only and open source under the MIT License for 1.21 – 1.21.11. Keyboard/Mouse Input Detection works on client and server under the MIT License for 1.21.5 – 1.21.10, detecting input rather than redstone activation.

ModLoadersGame versionsEnvironmentUpdated
TargetingFabric1.21.11Not published2026-03-26
Command PopupFabric1.21.1Client-side only2025-04-21
cmd commandFabric1.21 – 1.21.11Client-side only2026-07-04
Keyboard/Mouse Input DetectionFabric1.21.5 – 1.21.10Client and server2026-01-07

Questions

Does Targeting require Fabric API?

Targeting is published for Fabric, and the files on the catalog list no additional required dependency. The mod is listed for 1.21.11 only.

Do players need to install Targeting?

The environment is server-side and client-side behaviour is not required beyond the server running the mod, so players can join without installing it.

Can Targeting run on a Paper server?

Yes. The mod is also available for Paper, alongside its Fabric build, on 1.21.11.

In the catalog

Targeting is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from AndrewCTF

All projects

Similar mods

What the author says

Targeting introduces a new selector, @t, designed to solve one of Minecraft’s long-standing limitations: reliably identifying the player who activated a redstone-triggered command. In vanilla behavior, command blocks triggered by buttons, pressure plates, or other redstone inputs lack direct context about who caused…
AndrewCTF, on the Modrinth page

Official listing

Owner
AndrewCTF
Published
2026-03-26
Updated on Modrinth
2026-03-26
Facts verified
2026-10-15

Tags