Skip to content
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

Adds 'getEntityData' to WorldReader #240

Merged
merged 2 commits into from
Jul 6, 2022
Merged

Conversation

John-Dean
Copy link
Contributor

This commit adds (if I haven't messed anything up) the ability to also pull entity files using the WorldReader. This re-uses the overwhelming bulk of the code from the region files, so I have merged the functionality into a publically exposed function to read .mca files called getMCAData.

I have not added a EntityDataFrame (EntityRegionDataFrame?) much like there is a RegionDataFrame - I'm not super familiar with the entitiy data structure so I didn't want to get this wrong.

I considered making the getMCAData function private, but I considered if they add any future .mca files having this public would allow a way for people to read it while the repo gets updated.

@ci010 ci010 merged commit 8bb4b4d into Voxelum:master Jul 6, 2022
@github-actions github-actions bot mentioned this pull request Jul 6, 2022
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.

2 participants