Repository navigation
Releases
Rainbow Magic 1.0.10 — pixel-art sheets, exact sizes
All 24 textures are now Minecraft pixel art generated as five sheets and imported by tools/import-art.py --sheets, which reduces by whole numbers only — 1/32, 1/64, 1/45, 1/11 — so nothing is ever resampled. Sheets that came back at the wrong size are centre-cropped to the nearest whole multiple first.
Known, and worth saying plainly:
- rainbow_block has a seam. Its spectrum runs left to right without wrapping, so violet meets red at every block boundary and a wall of it shows a seam per block. The two ore textures tile cleanly.
- Three icons lost their silhouette against the previous art: the levity trap came out a square panel rather than a round disc, the dust a solid blob rather than a loose heap, and the helmet an oval egg rather than a domed helmet.
docs/ART-PROMPTS.mdhas the wording to add for a re-run of that sheet. - The other five icons in the comparison are better than before.
The unicorn still has no eyes and no horn: its texture is a UV map on the vanilla horse model, and that needs a model pass, not a texture.
Remove the old copy from your world before installing.
Rainbow Magic 1.0.9 — the real art
All 24 images are now the generated art: every item icon, the three block textures, both armour sheets, the unicorn fur and both pack icons.
The icons were keyed out of their white background, downscaled to 16x16 and given a dark outline so the pale ones stay readable against the inventory. The rainbow ore and deepslate ore tile cleanly; the rainbow block's frame was cropped so it does not read as a grid line in the world.
The unicorn still has no eyes and no horn — that needs a model, not a texture, and the texture it uses is a UV map on the vanilla horse model.
Remove the old copy from your world before installing.
Rainbow Magic 1.0.8 — full tool set and rainbow armour
Axe, shovel and hoe join the pickaxe and blade, plus a full set of rainbow armour: helmet, chestplate, leggings and boots.
The shears are renamed Rainbow Shears to match, and now carry minecraft:is_shears and minecraft:is_tool so the engine shears the mobs it already knows how to shear — the script still extends that to every other mob. If shearing still does nothing, the log now reports the first three entity interactions, which says whether the event fires at all and what the engine thinks is in your hand.
Armour would have shipped wearable but invisible: a minecraft:wearable item needs an attachable in the resource pack. Four attachables and two armour layer textures later, it renders. Nothing in the set carries a durability component.
The seven newest icons are placeholders — the real art is a separate design pass.
Remove the old copy from your world before installing.
Rainbow Magic v1.0.7
The pickaxe harvests now — the missing tag was minecraft:is_tool
Your report that it "breaks but does not mine" was the accurate description of the bug, and the cause was a missing tag.
Every canonical "is this item a pickaxe" test in Bedrock's documentation pairs two tags:
q.all_tags('minecraft:is_tool', 'minecraft:is_pickaxe') && q.any_tag('minecraft:diamond_tier', ...)
The pickaxe declared minecraft:is_pickaxe and minecraft:diamond_tier — but never minecraft:is_tool. An item tagged is_pickaxe alone is not treated as a tool at all, so blocks broke and nothing was harvested.
It now carries {"tags": ["minecraft:is_tool", "minecraft:is_pickaxe", "minecraft:diamond_tier"]}.
Also fixed: the pack's own blocks now declare minecraft:is_pickaxe_item_destructible, so the pickaxe's digger entry actually matches them. A block without that tag is not pickaxe-destructible, so the tag descriptor in destroy_speeds never applied to the rainbow ore either. (Note the asymmetry: a block's minecraft:tags is a plain array, an item's is an object with a tags key. Getting that backwards is silently ignored, so a gate now checks both shapes.)
How I found it
By reading Mojang's own docs on tool-based destruction and item tags instead of writing from memory — which is what the previous three attempts did not do. The documentation also states plainly that there is no proper way to specify which tools a custom block requires to drop loot, so if a custom block of yours ever needs "diamond pickaxe or nothing", that has to be a match_tool loot table, not a data field.
Verified
56 tests pass, and ten check-pack.py gates now cover every bug this add-on has had — each proven by reverting its fix and confirming the check fails:
caught digger without minecraft:is_tool (breaks but harvests nothing)
caught block tags written in the item's object shape
caught reused horse animation that only vanilla horse types accept
caught old item-tag component syntax (the parse failure)
caught bare minecraft:damage where vanilla writes an object
caught block with no minecraft:geometry
caught unnamespaced block texture shortname
caught tag descriptor below format_version 1.26.20
caught a Java-only effect name
caught min_engine_version below a file's format_version
clean tree: OK 10/10 gates proven, 0 blind
Version 1.0.7 — remove the old copy from your world before adding this one. 1.0.6's break report is still in the script, so if anything about mining is still wrong it will say whether the engine's own path ran.
Rainbow Magic v1.0.6
The unicorn's log spam, fixed
animation.horse.v3.look_at_player calls query.head_y_rotation(20), and the engine accepts that clamp argument only on the vanilla horse-family types. On a custom entity it errors on every frame. I grepped the vanilla animation file: query.head_y_rotation appears in exactly one animation — that one — so the fix is to stop using it. The unicorn still walks (that animation was already clean once its variables were initialised); its head simply no longer turns to follow you.
The pickaxe: a fact instead of another guess
The script now reports the first three blocks the engine itself broke while the rainbow pickaxe was held:
[RainbowMagic] the engine broke minecraft:stone with the rainbow pickaxe (its mining path, not the script)
That line is the fork in the road. If it appears when you mine stone, the engine's mining path is running with this tool and the only remaining question is whether the block drops. If it never appears, the tool is not being treated as a pickaxe at all.
One thing I need from you
The [RainbowMagic] build 1.0.x line from the boot log. Three of the pickaxe fixes so far were about the item's components being discarded by the schema, and if you tested 1.0.4 the pickaxe was still in exactly that state — 1.0.5 fixed it and has not been played yet. If your build line already said 1.0.5 when you saw "does not mine, only breaks", tell me and the break report above will say where to look instead.
Version 1.0.6 — remove the old copy from your world before adding this one. 56 tests pass, and eight check-pack.py gates each proven by reverting the fix they guard.
Rainbow Magic v1.0.5
The pickaxe's parse failure, fixed — and this is the one that was stopping it mine.
components -> tag:minecraft:is_pickaxe: this component was found in the input,
but is not present in the Schema
tag:<name>: {} is the old item-tag syntax and is not in the current schema. Critically, one bad component key rejects the whole item — every component on it is dropped, which is why the pickaxe had no digger and mined nothing, while the script's bedrock path (a different mechanism) still worked and made it look contradictory.
- The pickaxe now declares
minecraft:tags: {tags: [minecraft:is_pickaxe, minecraft:diamond_tier]}.diamond_tieris taken from vanilla's owndiamond_spear.jsonand should also make obsidian and ancient debris drop — the engine'sdiamond_tier_destructiblerule otherwise withholds drops from a tool with no tier. - The blade had
tag:minecraft:is_swordand was failing to parse too, and its damage was a bare number where vanilla writes an object. Fixed to"minecraft:damage": {"value": 100}; the sword tag is dropped, since it did nothing the damage component does not.
Both forms were confirmed against Mojang's own bedrock-samples rather than from memory — which is what I should have done before writing that syntax in the first place.
Version 1.0.5. Remove the old copy from your world before adding this one. 53 tests pass, and seven check-pack.py gates now cover every bug this add-on has had, each proven by reverting its fix and watching the check fail.
Rainbow Magic v1.0.4
Three bugs your play-test found, all fixed.
1. Blocks showed as the missing-texture placeholder ("a dirt block with a question mark"). A custom block with no minecraft:geometry component has no model, and my texture shortnames in material_instances were bare where terrain_texture.json shortnames are written namespace:name. All three blocks now declare minecraft:geometry.full_block and use namespaced shortnames.
2. The pickaxe mined nothing. A destroy_speeds entry naming a block tag is only understood from format_version 1.26.20, and mine declared 1.21.50 — so the entries were accepted and matched nothing. destroy_speeds is the item's whitelist, and an all-unmatched whitelist mines nothing at all. That is why bedrock (a different mechanism — the script) still broke while ordinary blocks did not. The pickaxe is now 1.26.50 with one single-tag entry per tool tag, and the pack's min_engine_version is raised to 1.26.50 to match, so an older engine rejects the pack cleanly instead of loading a pickaxe that cannot mine.
3. addEffect("glowing") threw InvalidArgumentError. "glowing" is a Java-only effect and does not exist in Bedrock — and both effects shared one try block, so it cost the regeneration too. The unicorn now gets regeneration and speed, applied independently.
Also silenced the Molang spam: the vanilla horse animations read variable.stand_anim and variable.inverse_max_stand_eat, which the vanilla horse sets through animation controllers this client entity does not use. Both are now initialised.
Version 1.0.4, and the pack now requires Bedrock 1.26.50+. Remove the old copy from your world before adding this one.
Five new gates in tools/check-pack.py, one per bug, each proven by reverting its fix and confirming the check fails. 53 tests pass. Still worth a look in play: whether obsidian and ancient debris drop (the engine's diamond_tier_destructible tag needs a diamond-tier tool to drop, and a custom item has no tier) — if they break but give nothing, tell me and they move to the script's own break-and-drop list.
Rainbow Magic v1.0.3
The script runs — so we know the behaviour pack loads. What we don't know is whether the rest of the pack loaded with it, and that is now reported too.
[RainbowMagic] alive in the world at tick 10, players=1
[RainbowMagic] content: items 9/9, blocks 3/3
That content: line asks the engine to resolve every id this pack defines. A clean 9/9, 3/3 means the items and blocks registered; MISSING rainbow_magic:… names the ones that did not. Same message either way, no guessing.
Bisecting, using the files already in this release. The two packs are attached separately, so installing one at a time says which is unhappy:
rainbow-magic-resources.mcpackalone, on a fresh test world. Load error still there → the resource pack is the problem and the behaviour pack is innocent.rainbow-magic-behavior.mcpackalone → the other way round.
If it loads in a fresh world but not your old one, nothing is wrong with the pack: the world recorded the pack's uuid and version, and the version moved (1.0.0 → 1.0.1 → 1.0.2 → 1.0.3). Remove both packs from the world and add them again, or fix the version in world_behavior_packs.json / world_resource_packs.json to [1, 0, 3]. This is the usual cause of 'failed to load' with an empty content log, and it is worth ruling out first because it costs 30 seconds.
Verified: 51 tests pass (three new for the content probe — a clean report, one naming each missing id, and one confirming it fires once), the pack checker is clean, and the release assets hash-match the local build.
Rainbow Magic v1.0.2 (diagnostic build)
The pack now tells you where it stops.
Why: the previous build failed to load with no content-log output at all, which is the signature of a script module that throws while loading — it takes the pack down silently. So the script reports every stage it reaches, and there is a build that bisects the problem in one download.
What to do
- Turn the content log on:
content-log-file-enabled=trueinserver.properties(dedicated server), or Settings → Creator → Content Log GUI (client). - Import
rainbow-magic.mcaddonand look for lines starting[RainbowMagic]. - If no such line appears, the script module never ran — import
rainbow-magic-diagnostic-no-script.mcaddoninstead (same pack, script module removed, its own uuid so both can sit side by side). Loads → the data and assets are fine and the script module or its@minecraft/serverversion is the culprit. Does not load → the script is not involved at all.
Also changed: the behavior pack no longer depends on the resource pack's uuid. That link only auto-enabled the resource pack, which you enable for the world anyway, and an unmet pack dependency is a silent refusal to load.
Pack version is now 1.0.2 — Minecraft matches packs by uuid and version, so remove the old copy from the world if it is still listed.
Read the logs like this: no [RainbowMagic] line at all = the module never ran; build … with no boot sequence complete = setup threw, and the line above names it; cannot subscribe to <event> = this engine lacks that event, everything else still runs; <name> handler threw = a named handler failed with its stack; boot lines but no alive in the world = the script loaded but its tick loop never ran. Full table in the README.
Rainbow Magic v1.0.1
The build that actually loads. v1.0.0 was refused by Bedrock Edition with two schema errors, both now fixed and both now gated by tools/check-pack.py:
minecraft:iconwas written as{"texture": "..."}. Atformat_version1.21.50 the engine wants a bare texture name; the object form needs a newer schema. All nine items.- Crafting recipes need
unlockdata at format version 1.20+. Added to the nine shaped and shapeless recipes, each unlocking on the Rainbow Ingot. (The furnace recipe is exempt — the engine's load raised no error for it.)
Install: download rainbow-magic.mcaddon and open it with Minecraft — both packs import together.
Verified before shipping: 37 tests over the scripted behaviour, the data cross-check clean, and each new check confirmed to fail when its fix is reverted. Still worth an in-game look: the blade's damage 100, the pickaxe's tag query, ore generation, and the unicorn's model and taming — see the README.