ModsJava
CommandHook
Java mod listed for Minecraft 1.13–1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotThis plugin adds the possibility to use vanilla selectors in non-vanilla commands written in CommandBlock.
Since it hooks into vanilla functions, all of the selector arguments are parsed (@p[distance=..5])
Keep in mind
Selecting entities other than player isn't probably of any use, because after the result is obtained, it parses the command with entity name (Player or mob name), however all of the selectors should work.
@p - targets nearest player
@a - targets all players
@r - targets random player
@e - targets all entities
@s - targets the executor (that is command block, not Player!)
FAQ
Q: Vanilla commands are not working.
A: Plugin scans if the command inside the block starts with /minecraft: or minecraft: so the syntax is ex.: minecraft:kill @p[name="RandomPlayer"]
TL;DR: just add minecraft: before it.
If you have a problem or you have found an error, please text me with a short brief (logs are welcomed help)
Since it hooks into vanilla functions, all of the selector arguments are parsed (@p[distance=..5])
Keep in mind
Selecting entities other than player isn't probably of any use, because after the result is obtained, it parses the command with entity name (Player or mob name), however all of the selectors should work.
@p - targets nearest player
@a - targets all players
@r - targets random player
@e - targets all entities
@s - targets the executor (that is command block, not Player!)
FAQ
Q: Vanilla commands are not working.
A: Plugin scans if the command inside the block starts with /minecraft: or minecraft: so the syntax is ex.: minecraft:kill @p[name="RandomPlayer"]
TL;DR: just add minecraft: before it.
If you have a problem or you have found an error, please text me with a short brief (logs are welcomed help)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CommandHook is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 24,543 times (via Spigot). Download it and open it directly in the game.