Skip to content

bedrock 1.21.90 data #1027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

bedrock-bot
Copy link
Contributor

No description provided.

@bedrock-bot
Copy link
Contributor Author

do you still need blocksB2J.json and blocksJ2B.json files?

@extremeheat
Copy link
Member

Yes, if you have it you can add to the PR. We should probably change the format at some time but in the meantime you can add it.

@bedrock-bot bedrock-bot force-pushed the feature/1.21.90-data branch 2 times, most recently from eb275f4 to a48f2ad Compare July 4, 2025 16:20
@bedrock-bot
Copy link
Contributor Author

nothing was changed in block states in 1.21.90

@bedrock-bot bedrock-bot force-pushed the feature/1.21.90-data branch from a48f2ad to 5807484 Compare July 6, 2025 11:27
@extremeheat
Copy link
Member

Adding to the doc how this was generated would be good. And ideally the pipeline is automated.

@bedrock-bot
Copy link
Contributor Author

Block states can be generated from here. You still need the block palette NBT file for new version.

Block state palettes are obtained from GeyserMC's mappings generator repository.
or from BedrockBlockPaletteArchive
or export from Endstone dev tools

I still using your code to generate java to bedrock mappings from gayser mappings.

it's probably is better to go @CreeperG16 way to generate data by using Minecraft server scripting api. It should be possible to automate

@CreeperG16
Copy link
Contributor

CreeperG16 commented Jul 8, 2025

The scripting API is good for obtaining all the block states; we would need to hash and order them ourselves but this can be done, as it's done for SerenityJS
I've already started working on an automated script for things like this (though I haven't had the time to touch it for a while) at bedrock-data-generator. This doesn't generate block states yet (though I plan to add that too), but it generates other data like items, entities, particles and food from official resources like the scripting API and bedrock-samples resource and behaviour packs.
However, the official scripting API doesn't provide much other info that would be useful to have in minecraft-data like what tools it's mineable by, friction, dropped loot, etc. I've looked into automating generating these brute force by doing things with simulated players but it isn't consistent

@extremeheat
Copy link
Member

Thanks, we should look at automating this

@extremeheat extremeheat merged commit e72f74e into PrismarineJS:master Jul 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants