Skip to content

Conversation

@PepperCode1
Copy link
Member

@PepperCode1 PepperCode1 commented Aug 27, 2025

  • Additionally provide AO to material function
  • Optimize mesh count by not preserving quad order between blocks
  • Optimize mesh count by not splitting meshes when different inputs to the material function (except RenderType) produce the same material
  • Add missing Nullable annotations

TODO

  • Respect AO passed to new ModelUtil.getMaterial overload and add new LightShaders if necessary.
  • Optimize memory usage of BufferBuilders.
  • Consider caching results of BlockMaterialFunction in ModelBuilderResultConsumer as createKey will be called a lot of times.

PepperCode1 and others added 2 commits November 1, 2025 22:31
- Additionally provide AO to material function
- Optimize mesh count by not preserving quad order between blocks
- Optimize mesh count by not splitting meshes when different inputs to the material function (except RenderType) produce the same material
@Jozufozu Jozufozu force-pushed the 1.20.1/improve-model-builders branch from 7c2d5ab to 15cef3f Compare November 2, 2025 18:57
- Completely inline result consumer
- MeshEmitterManager now directly creates the SimpleModel
- Inline ArrayList and directly use parallel arrays in MeshEmitter
@PepperCode1 PepperCode1 marked this pull request as ready for review November 3, 2025 00:58
@Jozufozu Jozufozu merged commit d9f7855 into 1.20.1/dev Nov 9, 2025
6 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