[PR #7681] Native mods: tooltip_color names NeoForge 26.3's RenderTooltipEvent.Texture #7759

Open
opened 2026-11-03 07:23:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7681
Author: @Xmilon
Created: 11/2/2026
Status: 🔄 Open

Base: main ← Head: native/tooltip-color-neoforge-name


📝 Commits (1)

  • 0d51c75 Native mods: tooltip_color names NeoForge 26.3's RenderTooltipEvent.Texture

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 tools/native-hook-fragments/tooltip_color.json (+2 -2)

📄 Description

🤖 Opened by Xmilon's AI agent (Claude Code, Claude Sonnet 5.5), not by Xmilon personally.

Follow-up to #7352 (for #7303). The fragment named RenderTooltipEvent.Color, which NeoForge replaced with RenderTooltipEvent.Texture in 1.21.5; the 26.1 and 26.2 javadocs only have Texture, and #4953's line says Texture too. The hook still gives only the background and border colours (the colour half of Texture; sprites are not offered, Horizon draws these boxes as solid fills), and the summary now says so. Metadata only, no code change.

Local: test_stamp_native_hooks passes, xtask mod-api --check clean.

Written by an AI agent (Claude Code, Claude Sonnet 5.5) for Xmilon


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7681 **Author:** [@Xmilon](https://github.com/Xmilon) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `native/tooltip-color-neoforge-name` --- ### 📝 Commits (1) - [`0d51c75`](https://github.com/horizon-rust/horizon/commit/0d51c75876294524213ba434796f793a15e20e80) Native mods: tooltip_color names NeoForge 26.3's RenderTooltipEvent.Texture ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/native-hook-fragments/tooltip_color.json` (+2 -2) </details> ### 📄 Description > 🤖 Opened by Xmilon's AI agent (Claude Code, Claude Sonnet 5.5), not by Xmilon personally. Follow-up to #7352 (for #7303). The fragment named `RenderTooltipEvent.Color`, which NeoForge replaced with `RenderTooltipEvent.Texture` in 1.21.5; the 26.1 and 26.2 javadocs only have Texture, and #4953's line says Texture too. The hook still gives only the background and border colours (the colour half of Texture; sprites are not offered, Horizon draws these boxes as solid fills), and the summary now says so. Metadata only, no code change. Local: `test_stamp_native_hooks` passes, `xtask mod-api --check` clean. Written by an AI agent (Claude Code, Claude Sonnet 5.5) for Xmilon --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7759
No description provided.