Complete Bedrock resource pack conversion
Build and release Bedrock pack / release (push) Successful in 6s

This commit is contained in:
root
2026-08-02 08:27:33 +02:00
parent 75a594df5d
commit df3b190c8c
3 changed files with 166 additions and 10 deletions
+17 -3
View File
@@ -9,8 +9,9 @@ This repository converts the **client-side Java resource pack assets** from `Fri
Included:
- Seven custom music-disc icons and their streamed OGG audio.
- Geyser custom-item mappings for the Java `music_disc_13` stacks whose `custom_model_data.strings` values identify those discs.
- Geyser custom-item mappings for the Java `music_disc_13` and `paper` stacks whose `custom_model_data.strings` values identify those seven models.
- The Java cloud texture, preserved at Bedrock's environment texture path.
- The original 64×64 pack icon.
- Bedrock manifest, pack icon, validation, packaging, and tagged-release automation.
## Build and validate
@@ -31,16 +32,29 @@ The build output is `build/Friends-CMP-Bedrock.mcpack`. The generated `build/` d
3. Enable Geyser custom content/items in the server configuration, then restart Geyser.
4. Test each Java datapack disc in a Bedrock client: its icon should match its title and its jukebox sound should stream.
The mappings use the current Geyser custom-item mapping format (`format_version: 2`) and match the Java datapack's string values at `custom_model_data.strings[0]`.
The mappings use the current Geyser custom-item mapping format (`format_version: 2`) and match the Java pack's string values at `custom_model_data.strings[0]` for both `music_disc_13` and `paper`.
## Limitations
## Conversion notes and limitations
The source repository contains seven 16×16 item textures, seven OGG record tracks,
one 1×1 cloud texture, a pack icon, Java item-model selectors, and a Java datapack.
The textures and audio are copied byte-for-byte; Java's `generated` item models are
represented by Bedrock atlas entries and Geyser custom-item icon mappings.
- Bedrock does not understand Java `assets/` model JSON or Java item-model dispatch files. Those files are translated into Bedrock icon entries and Geyser mappings rather than copied.
- The Java `clock.json` and `compass.json` selectors only select vanilla/Java model assets. Their referenced vanilla models are not part of the pack, and Bedrock has no equivalent for Java's item-model dispatch tree in a resource-only pack; those selectors are intentionally omitted. The seven `paper.json` custom-model-data cases are represented by the Geyser `minecraft:paper` mappings instead of being copied as Java JSON.
- The Java source has no custom fonts, block/entity models, GUI textures, particles, animations, or language files to convert.
- Resource packs cannot implement Java datapack logic. Giving items, jukebox components, predicates, functions, recipes, and other server behavior remain Java-side responsibilities.
- The Bedrock pack alone cannot distinguish multiple custom icons that all use `music_disc_13`; the Geyser mapping file is required for that per-stack visual mapping. If the server uses an older Geyser build that does not support v2 mappings or string predicates, the custom icons cannot be selected reliably without changing the server-side item data/mapping approach.
- Bedrock's resource-pack sound catalog exposes the converted sound events, but custom Java jukebox behavior is still dependent on Geyser/server support for the mapped item. This repository does not modify the Java datapack.
- No Java-only `assets/minecraft/items/*.json`, models, `pack.mcmeta`, language files, or datapack files are included in the `.mcpack`.
The pack is a resource pack, not a standalone Bedrock behavior pack. For the seven
custom discs to retain their Java appearance and behavior through Geyser, install
both the `.mcpack` and `geyser/mappings.json`, and keep the Java datapack installed
on the server. A Bedrock client cannot independently recreate the Java datapack's
custom-model-data and `jukebox_playable` logic.
## Releases
Tag pushes matching `v*` run `.github/workflows/release.yml`, validate the pack, build `Friends-CMP-Bedrock.mcpack`, and attach both the pack and `geyser/mappings.json` to the GitHub Release. The mapping file is released alongside the pack because Geyser needs it to select the per-disc icons.