Skip to content

Optimize pitcher plants - #3877

Closed
krabsticks1 wants to merge 0 commit into
CaffeineMC:devfrom
krabsticks1:dev
Closed

krabsticks1 wants to merge 0 commit into
CaffeineMC:devfrom
krabsticks1:dev

Conversation

@krabsticks1

Copy link
Copy Markdown
Contributor

This PR adds some minor optimizations to pitcher plant models, which affect all Sodium versions they are present in (1.20.1, 1.21.1, 1.21.11, 26.1.x, 26.2.x). It makes the following changes:

  1. Eliminates excess faces in the pitcher_plant models. The vanilla model defines six faces per plane when only two are needed.
  2. Adds cullfaces to the "bulbs" of pitcher_crop models. Unfortunately these will not cull against farmland blocks (which the crop can only be placed on in vanilla survival), but this might be useful to builders or mapmakers who can utilise the blocks more freely. It doesn't hurt to have them.

I did not change the mapping of the affected models or the texture references, only the changes listed above. They should appear identical and this seemed to be the case in some quick testing I did.

I do have some questions about further changes to the model, so I will mark this as a draft for now and ask on the Discord.

@krabsticks1
krabsticks1 marked this pull request as ready for review August 18, 2026 08:34
@krabsticks1

Copy link
Copy Markdown
Contributor Author

Marking for review since I've decided the changes aren't necessary

This branch was successfully deployed

1 active and 1 inactive deployments
prod — 27bbd7f1 Deployed Aug 7, 2026 by douira via build #54
staging — 27bbd7f1 Deployed Aug 7, 2026 by douira via build #996
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.

1 participant