Skip to content

Conversation

@CounterPillow
Copy link
Member

@CounterPillow CounterPillow commented Jun 25, 2020

I've settled for using blockids 1000 and above for this.

  • Ancient debris

  • Basalt

  • Polished Basalt

  • Soul Campfire

  • Blackstone block

  • Netherite block

  • the rest

@georgekarrv
Copy link

can't wait to regen my nether with all these blocks rendered. Thanks for working on this!

- Add ancient debris
- Add basalt
- Add polished basalt
- Add soul campfire
Minecraft 1.16.1 loves writing these in singleplayer, and they
cause a whole bunch of corruption warnings if we don't handle them
in a special way like this.
CounterPillow and others added 6 commits July 13, 2020 19:15
Previously, walls were all numbered at 21000+. This is bad because
our blockmap is an array, so this caused our blockmap to take up
80 MiB of RAM in each worker process.

This commit changes the wall numbering, and exploits some bitmasking
to have the wall check run in constant time no matter how many walls
there are. This is done with a simple mask and xor to check the prefix.

RAM usage for the blockmap thus drops to like 44 MiB.

This is in preparation for adding more walls for 1.16.
- don't redundantly declare a side image when it's the same as top
- change wood blocks to get textures from a dict
@CounterPillow CounterPillow marked this pull request as ready for review August 5, 2020 17:03
@CounterPillow
Copy link
Member Author

Not everything has been added yet but I think we can probably merge this now, better than leaving it hanging here

@CounterPillow CounterPillow merged commit 50b84e9 into master Aug 5, 2020
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.

4 participants