Minecraft

From Esolang
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.

Minecraft
Designed by User:Yoyolin0409
Appeared in 2025
Computational class Unknown
Reference implementation Unimplemented
File extension(s) .mccmd

Instruction list

Arithmetics
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.

Example

Notes