mirror of
https://github.com/Kas-tle/java2bedrock.sh.git
synced 2025-12-19 14:59:13 +00:00
Update converter.sh
This commit is contained in:
@@ -218,7 +218,7 @@ if contains(":") then sub("\\:(.+)"; "") else "minecraft" end
|
|||||||
| to_entries | map( ((.value.geyserID = "gmdl_\(1+.key)") | .value))
|
| to_entries | map( ((.value.geyserID = "gmdl_\(1+.key)") | .value))
|
||||||
| INDEX(.geyserID)
|
| INDEX(.geyserID)
|
||||||
|
|
||||||
' "./assets/minecraft/models/item" > config.json || { status_message error "Invalid JSON exists in block or item folder! See above log."; exit 1; }
|
' ./assets/minecraft/models/item/*.json > config.json || { status_message error "Invalid JSON exists in block or item folder! See above log."; exit 1; }
|
||||||
status_message completion "Initial predicate config generated"
|
status_message completion "Initial predicate config generated"
|
||||||
|
|
||||||
# get a bash array of all model json files in our resource pack
|
# get a bash array of all model json files in our resource pack
|
||||||
|
|||||||
Reference in New Issue
Block a user