-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const ERROR_MESSAGES = { | ||
NOT_ENOUGHT_ARGUMENTS: "# SyntaxError: Not enough command arguments.", | ||
UNKNOWN_ARGUMENTS: "# SyntaxError: Unknown command arguments.", | ||
UNSUPPORTED:"## Unsupport transformation", | ||
UNSUPPORTED:"## WARNING: Unsupport transformation", | ||
WARNING_MAY_CAUSE_PROBLEM: "## WARNING: The transformation may cause problem. You might need to modify it by yourself." | ||
} | ||
module.exports = { ERROR_MESSAGES } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
## | ||
## Datapack Upgrader v1.0.0 by wifi_left | ||
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader | ||
## | ||
# execute store result block 1 1 1 Items[0].tag.display.Name byte 1 if data entity @s {"Inventory":[{id:"minecraft:emerald",Count:1b,tag:{Enchantments:[{id:"minecraft:sharpness",lvl:1}]}}]} | ||
## WARNING: The transformation may cause problem. You might need to modify it by yourself. | ||
data modify block ~ ~ ~ Items[0].components."minecraft:enchantments".levels set from block ~ ~ ~ Items[1].components."minecraft:enchantments".levels | ||
## Unsupport transformation | ||
## WARNING: Unsupport transformation | ||
data merge block ~ ~ ~ {Items:[{tag:{display:{Name:'"1"'}}}]} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters