Fix terminal crash: replace removed CyclopsCore drawSlotText with inlined rendering logic#198
Closed
Fix terminal crash: replace removed CyclopsCore drawSlotText with inlined rendering logic#198
drawSlotText with inlined rendering logic#198Conversation
Coverage Report for CI Build 24300276272Coverage decreased (-0.02%) to 8.624%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions34 previously-covered lines in 3 files lost coverage. Coverage Stats
💛 - Coveralls |
…lined GuiGraphicsExtractor calls Agent-Logs-Url: https://github.com/CyclopsMC/IntegratedTerminals/sessions/9cc5d25d-d22a-49c1-a9ee-2fcd472e5264 Co-authored-by: rubensworks <440384+rubensworks@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix crash when opening terminal
Fix terminal crash: replace removed CyclopsCore Apr 12, 2026
drawSlotText with inlined rendering logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GuiGraphicsExtended.drawSlotText(Font, String, int, int)was removed in CyclopsCore1.29.0, causing aNoSuchMethodErrorat runtime for users running newer CyclopsCore against older IntegratedTerminals builds.Changes
gradle.properties: Bumpcyclopscore_version1.25.5-974→1.29.0-984IngredientComponentTerminalStorageHandlerEnergyClient,IngredientComponentTerminalStorageHandlerFluidStackClient,TerminalStorageSlotIngredientCraftingOption: ReplaceGuiGraphicsExtended.drawSlotText(...)calls with inlined equivalent usingGuiGraphicsExtractordirectly, and drop the now-unusedGuiGraphicsExtendedimportsThe inlined rendering is a direct equivalent of the removed method — 0.5× scale, right-aligned text at the slot's bottom-right corner: