Skip to content

1.12.2 backport from 1.21.1 - #11

Closed
tgstyle wants to merge 9 commits into
muddykat-tech:1.21.1from
tgstyle:1.12.2
Closed

tgstyle wants to merge 9 commits into
muddykat-tech:1.21.1from
tgstyle:1.12.2

Conversation

@tgstyle

@tgstyle tgstyle commented Sep 1, 2026

Copy link
Copy Markdown

Working version if you want to pull it in and release it. Make sure to commit it to a new branch and not overwrite your existing 1.21.1 branch.

The projection was getting rebuilt from scratch every frame for every
  schematic in the hotbar. Cache the structure per multiblock instead.
  Batch the phantoms and outline boxes too, so it's not a shader bind and
  a tessellator batch per block.

Two bugs while I was in here. processAll only walked the non-empty
  layers, so a structure with a gap in it would lose everything above the
  gap. And beginLines never put lighting or line width back, which leaked
  onto whatever rendered after.
@tgstyle

tgstyle commented Sep 1, 2026

Copy link
Copy Markdown
Author

common-1.12.properties.zip

Including my 1.12.2 properties file shared over all my 1.12.2 mods. It sits in a folder higher than the repo.

..\common

@muddykat-tech

Copy link
Copy Markdown
Owner

Merged into it's own branch as 1.12.2, cheers

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