Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
This mod is designed for map makers to accelerate development. The content will probably be almost entirely commands. Reccommended to be used with Axiom. Will be completely compatible with Sodium and Nvidium for more efficient rendering.
Latest version has the following commands:
\tpRel <target> <from> <to> [rot] Teleports target from [from] to [to] with same offset. Useful for making seamless transitions. Does not affect velocity and so can be used for a seamless transition. Does not work on Valkyrien Skies ships as of latest version, but that is planned for the future. If rot is present, rotates position, facing direction, and velocity around the target location by rot. This value is in degrees.
\function_silent <args>
Uses the same arguments as the vanilla \function command, but does not give command feedback. For making text buttons better. Deprecated.
\heal <target> <amount>
The command minecraft should have but doesn't. Heals target by amount health.
\air <target> add|remove|set <amount>
Sets targets remaining air.
\entityify <pos> [<removeBlock>]
Summons a falling block entity with no gravity and same blockstate as block pos at pos. If removeBlock exists and is true, removes the block as well.
\for <varname> <start> <end> <increment> <command>
for(int varname=start;varname<end;varname+=increment) run command
runs command with all instances of $(varname) replaced with the value in that loop. Example:
\for i 0 10 1 tell @a Loop Iteration $(i)
would tell all players
Loop Iteration 0
Loop Iteration 1
Loop Iteration 2
Loop Iteration 3
Loop Iteration 4
Loop Iteration 5
Loop Iteration 6
Loop Iteration 7
Loop Iteration 8
Loop Iteration 9
\for loops can be nested!
\with <varname>
value <value> <command>
uuid <target> <command>
data entity|block|storage <selector> <path> <command>
attribute <entity> <attribute> <command>
replace all instances of @(varname) with whatever data you get. For value subcommand, value is what @(varname) is replaced with. For uuid, it replaces @(varname) with the string representation of <target>s uuid. For data, it replaces it with the value you get from running the \data command. The data subcommand is still buggy and adds typechars to end of replacementno longer adds typechars! attribute just gets entity attributes. Example usage: getting entity max health
random int|float <min> <max> <command>
sets @(varname) to a random integer or float between min and max(inclusive).
calculate <math> <command>
sets @(varname) to whatever value is calculated by <math>. Quotation marks must be supplied around math value. Spaces are not allowed.
calculateint <math> <command>
sets @(varname) to whatever value is calculated by <math> as an integer. Quotation marks must be supplied around math value. Spaces are not allowed.
Modifies the vanilla \execute command: Addes submerged <entity> condition subcommand to \execute:
\execute if|unless submerged <entity> ...
Function tags: quality_commands:on_before_player_leave Runs as a player right before that player leaves the game. quality_commands:on_before_player_join Runs as said player right before they finish joining the game.
Currently adding Identity Api for model overrides. (Yes, I am making said API)
Contains the following blocks:
quality_commands:barier An invisible barrier that cannot be interacted with. Has block outline and can be interacted with only when holding the block. For making boundaries (so that players don't go where they aren't supposed to go) but can't see the boundary. Works slightly better than barriers. Designed for situations where players shouldn't go to a location, but should still be able to interact with the objects there.
Reccomended to be used with Function Macro Backport for 1.20.1.
Note: This mod may be compatible with unlisted versions, although it is designed for 1.20.1.
Theoretically, most of this mod should work entirely serverside. Emphasis on theoretically.
If any issues with the mod not working or any suggestions for new ideas come up, post them here.


