Minecraft
Jump to navigation
Jump to search
Minecraft is an esolang by User:Yoyolin0409 ,This programming language consists of commands that actually exist in or have existed in Minecraft. Furthermore, it is not yet implemented.
| Designed by | User:Yoyolin0409 |
|---|---|
| Appeared in | 2025 |
| Computational class | Unknown |
| Reference implementation | Unimplemented |
| File extension(s) | .mccmd |
Instruction list
| Instruction | Use |
|---|---|
| /java | Enable Java Edition |
| /bedrock | Enable Bedrock Edition |
| /edu | Enable Education Edition |
| /beta | Enable Beta Edition |
| /test | Enable Test Bedrock Edition |
| /clear <var_name> [type] | Clears the contents of a variable specified by type. If no type is specified, clears the contents of all variables (but does not delete them). |
| /clone from [sourceDimension] <var_name> to <var_name_2> [targetDimension] [replace|masked] [force|move|normal] | Move data from var_name to var_name_2. If a sourceDimension is specified, the variable to be moved must belong to that dimension. If a targetDimension is specified, the target variable must belong to that dimension. [replace|masked] defaults to replace. Replace completely replaces the target variable, while masked adds the target variable to it (like +). [force|move|normal] defaults to force. Force operates regardless of the target variable's type, preserving the original variable. Move operates regardless of the target variable's type, without preserving the original variable. Normal only operates when the target variable's type is the same as the variable to be moved. |
| /damage <var_name> <amount> [damageType] | Subtract either amount or amount times damageType from the value in var_name. amount must be a number, and damageType must be a string. |
| /deop <agentName> | Remove command permissions from an agent. |
| /difficulty <easy|hard|normal|peaceful> | If the <easy|hard|normal|peaceful> parameter is set to easy, the result is normal. If the parameter is set to hard , the number cannot be negative; otherwise, it will be deleted. If the parameter is set to normal , the number cannot be a decimal; otherwise, it will be rounded. If the parameter is set to peaceful, the number cannot be positive; otherwise, it will be converted to a negative number. |
| /effect give <var_name> <effect> <time|inf> [amplifier] | The var_name is marked with the content of the effect. The time parameter is defaulted to inf. If set, time is decremented by 1 for each iteration. The mark is removed when time reaches 0. Setting time to 0 at the very beginning will also remove the mark. The amplifier function makes instructions harder to read because, with an amplifier, a mark can only be removed from the next instruction if there is a match between the effect and the amplifier. |
| /effect clean <var_name> <effect> <time|now> [amplifier] | Remove the effect mark from var_name. If the mark has an amplifier, it must match exactly. The time function allows this mark to be deleted after a certain number of steps. The default value is now, which is equivalent to 0, meaning it will be deleted now. |
| /enchant <var_name> <enchantment> [amplifier] | This is actually another program used for marking, although it seems unreasonable. It can be deleted by "/effect clean" using the enchantment's name. The amplifier here is special; it can be deleted even if it doesn't match, and it can also be deleted even if it matches. |
| /excute | This thing is just as damn hard to work with as the original. You can treat it as a conditional expression. These things have substrings that can be chained together without any problem, but each substring can only appear once and must have a "run". The purpose of align <complex> is to transform a target involving a complex plane of blocks into a specified number of blocks complex. The function of anchored <eye|foot> is to add or subtract 1 to the numerical variables in subsequent run commands: eye = +1, foot = -1. The "as <agentName> "property sets the agent that executes the commands in run. The function of "at <var_name>" is to change the state of "dimension", "structure", "tag name", etc. in the instructions executed in `run` to the state of this variable. |