mirror of
https://github.com/Kas-tle/java2bedrock.sh.git
synced 2025-12-27 10:39:07 +00:00
Update converter.sh
Mappings version now an int Changed ``unbreaking`` to ``unbreakable`` according to the changes in the PR(Merged)
This commit is contained in:
@@ -991,7 +991,7 @@ jq '
|
||||
}
|
||||
+ (if .value.nbt.CustomModelData then {"custom_model_data": (.value.nbt.CustomModelData)} else {} end)
|
||||
+ (if .value.nbt.Damage then {"damage_predicate": (.value.nbt.Damage)} else {} end)
|
||||
+ (if .value.nbt.Unbreakable then {"unbreaking": (.value.nbt.Unbreakable)} else {} end)
|
||||
+ (if .value.nbt.Unbreakable then {"unbreakable": (.value.nbt.Unbreakable)} else {} end)
|
||||
]
|
||||
}
|
||||
)
|
||||
@@ -999,7 +999,7 @@ jq '
|
||||
| group_by(.key)[]
|
||||
| {(.[0].key) : map(.value) | add}] | add) as $mappings
|
||||
| {
|
||||
"format_version": "1.0.0",
|
||||
"format_version": "1",
|
||||
"items": $mappings
|
||||
}
|
||||
' config.json | sponge ./target/geyser_mappings.json
|
||||
|
||||
Reference in New Issue
Block a user