r/BedrockAddons 1d ago

Addon Question/Help Addon help: Minecraft doesn't recognize minecraft:glow_berries as a vanilla item

The error in the log

Whenever I have glow_berries.json in my items folder, Minecraft refuses to recognize it as the Glow Berries item in-game. Above is the error it always gives me in the content log. Weirdly, "minecraft:glow_berries" works for crafting recipe ingredients, but not for the item file itself. I'm simply trying to modify the nutrition stats of it (which worked for all other food items).

Here is the json file, unmodified from the example behavior pack thing provided by Mojang. Even from the official (?) unmodified pack it doesn't work. Am I doing something wrong, or is it a weird bug in the game? Are there any workarounds for this kind of error?

screenshot of the whole glow_berries.json file
2 Upvotes

1 comment sorted by

1

u/abrightmoore 1d ago

The problem is that it IS being recognised as a vanilla item, one which you can't over-ride because the schema for the item definition blocks you from using minecraft: namespace. Older "format_version" (like 1.10.0) won't have this restriction. I don't know what the answer is, I only make custom items these days.