Is there anywhere I can find just... a laid out document of all the namespaces in vanilla Minecraft, or a datapack that covers all the vanilla mobs/blocks etc? I learn best by looking at what already exists and figuring out how to modify it. So for example, if I wanted to modify zombie behaviour, the first thing I want to do is be able to look at the default vanilla data for a zombie to figure out how it works - and I'm stumped on how to find this. Existing datapacks only have the things that have changed (obviously) and all the official Mojang documentation seems to be for Bedrock.
#Documentation for Java Vanilla Defaults
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
If you extract the jar, you can get the default data and resource pack for that version. You won’t find data for mobs and blocks though, since those are defined in the game code and not data-driven
If you only want to browse the "vanilla data pack", you can find that in the version jar, like Eroxen said or here (https://github.com/misode/mcmeta/tree/data) if you want to view it online, there is even a versioned history if you select one of the tags
Thank you, I'll have a look at that link and a rummage around in the jar
If mobs and blocks aren't governed by data, how do datapacks make changes to them?
They use workarounds to make it looks like blocks and mobs are changed
Like placing a display entity with a custom model that makes it look like a new block
Or using a combination of models, mobs and commands to make new mobs
Though blocks and mobs are not the easiest and cleanest to do with data packs
Like — since all "blocks" are entities, they create more lag for the server and client than regular blocks
I'm not sure we're talking about the same thing - I have datapacks that e.g. make Endermen not pick up blocks
These give endermen an invisible block into their hands or what Eroxen said
That one can be controlled by a block tag, but most things require dirty workarounds
Huh
I keep this updated with every version
This may explain why I've been struggling then!
This includes all assets and converted nbt ----> snbt