Skip to content

feat(biome): implement foliage colormap tinting for oak leaves and vegetation - #54

Merged
BharathASL merged 1 commit into
mainfrom
feat/foliage-colormap-tinting
Sep 29, 2026
Merged

BharathASL merged 1 commit into
mainfrom
feat/foliage-colormap-tinting

Conversation

@BharathASL

Copy link
Copy Markdown
Contributor

Description

Implement Minecraft Java foliage colormap tinting for oak leaves and vegetation blocks. Extends the biome UI predicate with getBlockTintCategory and shouldApplyFoliageTint to detect foliage blocks across all 6 cuboid faces while preserving backwards-compatible grass tinting for grass blocks. In getMaterialsForBlock and cross-quad vegetation rendering, foliage blocks now sample authentic colormap colors from foliage.png (or hardcoded overrides for Swamp and Badlands) and apply uniform biome tinting across all faces.

Related Issues

Closes #50

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation / Hygiene update

Checklist

  • My code follows the style of the surrounding code.
  • I have run this repository's tests locally and they pass.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated documentation / CHANGELOG as appropriate.
  • My commits follow Conventional Commits.
  • Every commit is signed off (git commit -s), per section 5 of CONTRIBUTING.md.

…getation

Signed-off-by: Bharath <bharathasl74185@gmail.com>

@ninja6-agent ninja6-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found.

@BharathASL
BharathASL added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit 3cd571d Sep 29, 2026
4 checks passed
@BharathASL
BharathASL deleted the feat/foliage-colormap-tinting branch September 29, 2026 03:26
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.

feat(biome): implement foliage colormap tinting for oak leaves and vegetation

1 participant