Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/mce/function/api/util/error_clear.mcfunction
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PUBLIC API — mce:api/util/error_clear
# MCE version: 2.1.1
# MCE version: 2.2.0
#
# Resets the MCE error state: clears mce:error Last, Code, and Count,
# and resets the internal error counter scoreboard.
Expand Down
4 changes: 2 additions & 2 deletions data/mce/function/api/util/help.mcfunction
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PUBLIC API — mce:api/util/help
# MCE version: 2.1.1
# MCE version: 2.2.0

tellraw @s ["",{"text":"=== MCE v2.1.1 ===","color":"gold"}]
tellraw @s ["",{"text":"=== MCE v2.2.0 ===","color":"gold"}]
tellraw @s ["",{"text":"--- Run ---","color":"yellow"}]
tellraw @s ["",{"text":" data modify storage mce:cmd Command set value \"<cmd>\"","color":"white"}]
tellraw @s ["",{"text":" function mce:api/run/cmd","color":"gray"}]
Expand Down
4 changes: 2 additions & 2 deletions data/mce/function/api/util/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PUBLIC API — mce:api/util/version
# MCE version: 2.1.1
# MCE version: 2.2.0
#
# Writes the current MCE version to storage and prints it to the caller.
# Output: mce:output Version.string — string ("2.0.1")
Expand All @@ -8,6 +8,6 @@
# Usage:
# function mce:api/util/version

data modify storage mce:output Version.string set value "2.1.1"
data modify storage mce:output Version.string set value "2.2.0"
execute store result storage mce:output Version.numeric int 1 run scoreboard players get #mce load.status
tellraw @s ["",{"text":"[MCE] ","color":"aqua"},{"text":"Version: ","color":"white"},{"storage":"mce:output","nbt":"Version.string","color":"gold"}]
6 changes: 3 additions & 3 deletions data/mce/function/core/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data modify storage mce:error Count set value 0
execute unless data storage mce:config {mce:{debug:1b}} run data modify storage mce:config mce.debug set value 0b

# mce.version: human-readable version string (set on every load)
data modify storage mce:config mce.version set value "2.1.1"
data modify storage mce:config mce.version set value "2.2.0"

# mce.queue_interval: ticks between queue executions (read-only reference, hardcoded in core/queue/tick)
data modify storage mce:config mce.queue_interval set value 3
Expand All @@ -39,7 +39,7 @@ data modify storage mce:config mce.queue_interval set value 3
execute unless data storage mce:config api.announce_default_preset run data modify storage mce:config api.announce_default_preset set value "normal"

# --- LanternLoad: advertise MCE version ---
# v2.1.1 -> 2001100
# v2.2.0 -> 2001100
scoreboard players set #mce load.status 2001100

tellraw @a ["",{"text":"[MCE] ","color":"aqua"},{"text":"Marker Command Engine v2.1.1 loaded!","color":"white"}]
tellraw @a ["",{"text":"[MCE] ","color":"aqua"},{"text":"Marker Command Engine v2.2.0 loaded!","color":"white"}]
2 changes: 1 addition & 1 deletion data/mce/functions/api/util/error_clear.mcfunction
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PUBLIC API — mce:api/util/error_clear
# MCE version: 2.1.1
# MCE version: 2.2.0
#
# Resets the MCE error state: clears mce:error Last, Code, and Count,
# and resets the internal error counter scoreboard.
Expand Down
4 changes: 2 additions & 2 deletions data/mce/functions/api/util/help.mcfunction
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PUBLIC API — mce:api/util/help
# MCE version: 2.1.1
# MCE version: 2.2.0

tellraw @s ["",{"text":"=== MCE v2.1.1 ===","color":"gold"}]
tellraw @s ["",{"text":"=== MCE v2.2.0 ===","color":"gold"}]
tellraw @s ["",{"text":"--- Run ---","color":"yellow"}]
tellraw @s ["",{"text":" data modify storage mce:cmd Command set value \"<cmd>\"","color":"white"}]
tellraw @s ["",{"text":" function mce:api/run/cmd","color":"gray"}]
Expand Down
4 changes: 2 additions & 2 deletions data/mce/functions/api/util/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PUBLIC API — mce:api/util/version
# MCE version: 2.1.1
# MCE version: 2.2.0
#
# Writes the current MCE version to storage and prints it to the caller.
# Output: mce:output Version.string — string ("2.0.1")
Expand All @@ -8,6 +8,6 @@
# Usage:
# function mce:api/util/version

data modify storage mce:output Version.string set value "2.1.1"
data modify storage mce:output Version.string set value "2.2.0"
execute store result storage mce:output Version.numeric int 1 run scoreboard players get #mce load.status
tellraw @s ["",{"text":"[MCE] ","color":"aqua"},{"text":"Version: ","color":"white"},{"storage":"mce:output","nbt":"Version.string","color":"gold"}]
6 changes: 3 additions & 3 deletions data/mce/functions/core/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data modify storage mce:error Count set value 0
execute unless data storage mce:config {mce:{debug:1b}} run data modify storage mce:config mce.debug set value 0b

# mce.version: human-readable version string (set on every load)
data modify storage mce:config mce.version set value "2.1.1"
data modify storage mce:config mce.version set value "2.2.0"

# mce.queue_interval: ticks between queue executions (read-only reference, hardcoded in core/queue/tick)
data modify storage mce:config mce.queue_interval set value 3
Expand All @@ -39,7 +39,7 @@ data modify storage mce:config mce.queue_interval set value 3
execute unless data storage mce:config api.announce_default_preset run data modify storage mce:config api.announce_default_preset set value "normal"

# --- LanternLoad: advertise MCE version ---
# v2.1.1 -> 2001100
# v2.2.0 -> 2001100
scoreboard players set #mce load.status 2001100

tellraw @a ["",{"text":"[MCE] ","color":"aqua"},{"text":"Marker Command Engine v2.1.1 loaded!","color":"white"}]
tellraw @a ["",{"text":"[MCE] ","color":"aqua"},{"text":"Marker Command Engine v2.2.0 loaded!","color":"white"}]
2 changes: 1 addition & 1 deletion pack.mcmeta
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"max_inclusive": 101,
"min_inclusive": 10
},
"description": "§aMCE §7- Marker Command Engine v2.1.1"
"description": "§aMCE §7- Marker Command Engine v2.2.0"
}
}