Skip to content

Add TiC addon API and expand developer documentation#8

Merged
tier940 merged 3 commits intomasterfrom
tier-dev-api
Apr 7, 2026
Merged

Add TiC addon API and expand developer documentation#8
tier940 merged 3 commits intomasterfrom
tier-dev-api

Conversation

@tier940
Copy link
Copy Markdown
Member

@tier940 tier940 commented Apr 7, 2026

No description provided.

@tier940 tier940 self-assigned this Apr 7, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly expands the Tinkers' Construct integration by introducing a public-facing API for addon developers and enhancing the Smeltery mechanics. By decoupling trait assignment logic into a registry-based system and providing helper classes for Smeltery recipes and harvest level management, the mod becomes more extensible and modular. Additionally, new combat and utility traits have been added to enrich the gameplay experience for high-tier materials.

Highlights

  • TiC Addon API: Introduced a stable API (integration.tic.api) allowing addon developers to register custom trait assignment rules, override harvest level names, and add custom Smeltery melting recipes.
  • Smeltery Integration: Added support for melting GT material fluids in the TiC Smeltery, with configurable options for ore doubling to maintain progression balance.
  • New Traits: Implemented 'Piercer' (bonus damage vs armored targets) and 'Moonlit' (nighttime mining speed and damage bonuses) traits, now dynamically assigned via the new TraitRegistry.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

このプルリクエストでは、Tinkers' Construct統合のための包括的な開発者向けAPIが導入され、アドオンModがカスタムトレイトルール、採掘レベル名、および乾式製錬炉のレシピを登録できるようになりました。また、新しいトレイト(「貫通」と「月光」)の追加、GT素材の乾式製錬炉での製錬機能(コンフィグによる鉱石倍加の制御を含む)の実装、および内部のトレイト割り当てロジックのAPIベースへのリファクタリングが行われています。レビューでは、Tiny Dustの液体出力量を標準値に修正して製錬炉の詰まりを防止すること、Piercerトレイトのダメージ倍率の調整、およびAPI呼び出しの適切な初期化フェーズに関するドキュメントの修正が提案されています。

Comment thread src/main/java/com/github/gtexpert/gtmt/integration/tic/TiCSmeltery.java Outdated
Comment thread src/main/java/com/github/gtexpert/gtmt/integration/tic/traits/TraitPiercer.java Outdated
Comment thread DEVELOPER.md Outdated
@tier940 tier940 merged commit 6acd04b into master Apr 7, 2026
2 checks passed
@tier940 tier940 deleted the tier-dev-api branch April 7, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant