Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
This mod has been kept in-private for several years (my Twitch/Trovo team used it for the stream fun!). But I finally decided to share it - maybe someone will want to use it for this purpose as well.
Here are the main features:
(all commands starts with /xc or /xtracommands)
drophelditems:
Throws out items in both hands (useful command to trigger when streamer is near the bottomless pit and holding his valued sword along with his priceless bow).
pit [lava|water]:
Teleports player to nearest opening beneath (or digs a 5x5x5 hole for the purpose, if no suitable place has been found). "lava" and "water" arguments doesn't look for an opening and just teleports player to the lowest position above the bedrock, filling 5x5x5 hole with the appropriate liquid of your choice.
quake:
I have no idea why I called this command "quake". All it's doing is removing a 3x3x1 square of blocks just beneath player's feet (useful when streamer is building one-block bridge to cross the lava-lake in the Nether for example). Warning! This command does NOT remove any tile-entities, so it can't be used to destroy player's storage.
summonrandom "<entity_1>[|<entity_2>[|<entity_N>]]" <count>:
This command chooses random entity from the list and spawns it in a player coordinates. Or a couple of entities if <count> is greater than one. Please note: entity list should be double-quoted and separated by vertical line "|".
unequiparmor:
If you cannot kill the player yourself, try to help those mobs around by removing all the armor! This command does just that. Unequipped armor will be placed in player's inventory if possible. Otherwise it will be thrown in the world!
rtp <min_distance> <max_distance>:
Proper way to do a random teleport of a player. This command is taking a world type in account, so, player won't be teleported to void in The End or above the bedrock in The Nether.
summonnamed <mob> <name> [<nbt>]:
Summon named mob while keeping default (vanilla-generated) equipment
timeskip <day|night>:
Add time to nearest day or nearest night (instead of stupid minecraft /time set variant, which resets game day to zero)
Beside the commands, this mod adds two potion effects:
/effect give @s xtracommands:reverse <duration>
This effect will switch player's WASD keys to function in reverse! So, D is for going left, A - for strafing right, W - is backwards and S for moving forward.
/effect give @s xtracommands:roll <duration> <level>
This effect will rotate player's camera to be... well... Not so useful to navigate with.
Effect itself depends on the Level:
Level = 0: rotate 180 degrees
Level = 1: rotate 90 degrees clockwise
Level = 2: rotate 90 degrees counter-clockwise
Level = 3 and more: roll the camera! More level equals more speed (mix with Nausea to make everyone sick!)