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

Make the code clear and easy to add functions #19

Merged
merged 6 commits into from
Jul 7, 2017
Merged

Make the code clear and easy to add functions #19

merged 6 commits into from
Jul 7, 2017

Conversation

haeter525
Copy link
Collaborator

Hello! This is a cool program that help me a lot, so I want to do something to help improving it.

The followings below are some changes I made:

  • Move the conversion code to ConvertSource.java
  • Divide the full conversion process by tags
  • Add ability to convert Height Map and Biomes

btw I found a site which shows almost all meaning of each tag in MCPE LevelDb.
It may be useful for programming, i think :)
https://minecraft.gamepedia.com/User:Jocopa3/Pocket_Level_Format_Test#LevelDB_Format

@inxomnyaa
Copy link

I want to remind, if it matters: Light is not saved into the level data anymore, but calculated within 0.8 seconds while loading chunks according to tommaso.

case (byte) 248: //info_update
case (byte) 249: //info_update2
case (byte) 250: //movingblock
case (byte) 251: //observer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, these exist in MCJava

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to check it, already fixed :)

@haeter525
Copy link
Collaborator Author

That's OK. That's why I chose to ignore light data whether it exists.

@ljyloo
Copy link
Owner

ljyloo commented Jul 7, 2017

Huge thanks to you guys! Really appreciate you guys do the refactoring job for me! And nice code compare with my messy code:) I am not a great programmer and I program just for fun, thanks for helping me out

@ljyloo ljyloo merged commit b95a97b into ljyloo:master Jul 7, 2017
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