Skip to content

Conversation

@bqc0n
Copy link
Member

@bqc0n bqc0n commented Nov 11, 2025

What

  • Update ModularUI to 3.0.4
  • Removed ResizingTextWidget, because it is using internal API and incompatible with 3.0.3
    • Replaced by TextWidgets with width and alignment are set
  • HandGuiData has been deprecated in favor of PlayerInventoryGuiData
  • debugName method has been deprecated in favor of name

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the ModularUI dependency from version 3.0.3 to 3.0.4 and addresses breaking API changes introduced in the new version. The deprecated ResizingTextWidget class is removed and replaced with standard TextWidget instances configured with explicit width and alignment properties.

Key changes:

  • Dependency version updates for ModularUI (3.0.4) and Forgelin (2.2.20.0)
  • Migration from HandGuiData to PlayerInventoryGuiData and ItemGuiFactory to PlayerInventoryGuiFactory
  • Replacement of debugName() method calls with name()
  • Removal of ResizingTextWidget class and its factory function asWidgetResizing()

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
gradle/scripts/mod_dependencies.gradle Updates ModularUI dependency from 3.0.3 to 3.0.4
ClayiumMod.kt Updates dependency version requirements in @mod annotation
ResizingTextWidget.kt Removes deprecated custom widget class
CUtils.kt Removes asWidgetResizing() extension function and unused imports
ItemFilterBase.kt Migrates to PlayerInventoryGuiData and PlayerInventoryGuiFactory APIs
ItemStringItemFilter.kt, ItemSimpleItemFilter.kt, ItemFuzzyItemFilter.kt, ItemFilterDuplicator.kt Updates buildUI signature to use PlayerInventoryGuiData
ItemClayGadgetHolder.kt Migrates to new GUI factory API and data type
CaReactorMetaTileEntity.kt and others Replaces asWidgetResizing() with asWidget() and explicit width/alignment
AutoTraderMetaTileEntity.kt, WorkableMetaTileEntity.kt Replaces deprecated debugName() with name()
Various MetaTileEntity files Removes unused imports for deprecated APIs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@soramame0256 soramame0256 left a comment

Choose a reason for hiding this comment

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

lgtm

@bqc0n bqc0n merged commit cd91084 into develop Nov 12, 2025
3 checks passed
@bqc0n bqc0n deleted the feat-update-mui branch November 12, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants