9
0
mirror of https://github.com/Kas-tle/java2bedrock.sh.git synced 2025-12-29 11:29:07 +00:00

Update converter.sh

This commit is contained in:
Kas-tle
2022-05-08 04:31:15 -07:00
committed by GitHub
parent 0151af5d8a
commit 2b213c9e26

View File

@@ -934,7 +934,7 @@ rm -rf assets && rm -f pack.mcmeta && rm -f pack.png && rm -f parents.json && rm
status_message process "Creating Geyser mappings in target directory"
echo
jq '
to_entries | map(
([to_entries | map(
{
("minecraft:" + .value.item): [
{
@@ -949,7 +949,11 @@ to_entries | map(
)
| map(to_entries[])
| group_by(.key)[]
| {(.[0].key) : map(.value) | add}
| {(.[0].key) : map(.value) | add}] | add) as $mappings
| {
"format_version": "1.0.0",
"items": $mappings
}
' config.json | sponge ./target/geyser_mappings.json
status_message process "Compressing output packs"