sodium-fabric icon indicating copy to clipboard operation
sodium-fabric copied to clipboard

Reworked leaves textures as well as adding waterlogging support.

Open TheNukeLore opened this issue 3 months ago • 7 comments

Remade the better leaf system from scratch, and alongside that, I included an experimental waterlogging system that helps people visually see waterlogged leaves with fast graphics.

What's currently included:

  • Support for all leaves
  • Waterlogged blockstates for leaves
  • Programmer art leaves

Known and/or potential issues:

  • Waterlogged leaves texture will likely override other resource packs texture unless they specifically add waterlogging support to said pack.
  • Waterlogged programmer art leaves revert back to non-programmer art leaves due to the issue mentioned above.

Something to note: For packs to add support for waterlogged leaves, they will need to add a folder called "waterlogged" in "textures/block/". In that folder, they can add their own form of waterlogged leaves or simply copy their existing texture there if they don't care to support waterlogged leaves on fast graphics.

When it comes to models, most models should simply work, as they are only replacing the texture. There is a niche case where it could still break, but it is extremely unlikely.

If requested, I may remove waterlogged support due to the issues that it can cause.

TheNukeLore avatar May 20 '24 02:05 TheNukeLore