Port 26.1.2 - #44
Open
Saereth wants to merge 11 commits into
Open
Conversation
Note, Block#appendHoverText is gone, so I moved the monitor's tooltip to block item
Closed
rlnt
requested changes
Jul 30, 2026
rlnt
left a comment
Member
There was a problem hiding this comment.
Looking quite good already. Since you enabled the CC: Tweaked dependency, could you adopt the following pull request adding support?
#42
And please grab the commit for the French translations as well, so the branch is up-to-date with the changes on 1.21.1.
Ports AlmostReliable#42 onto 26.1.2. Co-authored-by: TrickShotMLG <43967908+TrickShotMLG02@users.noreply.github.com> Co-authored-by: Relentless <16513358+rlnt@users.noreply.github.com>
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.
Continues #41 by @AlmanaX-21, which got the bulk of the mechanical renames in place. This branch builds on that work and finishes the parts that were still outstanding.
Proposed Changes
Ports the mod from 1.21.1 to 26.1.2 (NeoForge 26.1.2.76, Java 25, FML 11)
DirectionPropertywas removed, soFACING/BOTTOMbecomesEnumProperty<Direction>neighborChangedreceived anOrientationinstead of the neighbourBlockPosBlock#appendHoverTextwas removed, so the monitor's tooltip had to be moved to a newMonitorBlockItemsaveAdditional/loadAdditional/handleUpdateTagmoved toValueOutput/ValueInputLevel#blockUpdatedis gone, replaced byupdateNeighborsAtnet.neoforged.neoforge.transferAPI:insert/extractwith aTransactionContext,getAmountAsLong/getCapacityAsLong, and aSnapshotJournalso a rolled-back transaction doesn't leave an incorrect throughput on the metersimulatebool is replaced by probing outputs inside a nested transaction that is never committedEnergyHandleris renamed toMeterEnergyHandler, since 26.1 has its ownEnergyHandlercapability interface and the collision would otherwise force some ugly FQNS throughout, can revert if you prefer it that way.ResourceLocationtoIdentifier, and theCompoundTaggetters that now returnOptionalrenderWidget->extractWidgetRenderState,drawString->text,renderTooltip->setTooltipForNextFrame, andblitnow takes theRenderPipelineBlockEntityRenderer<T>becomesBlockEntityRenderer<T, S>, soMeterRenderersplits intocreateRenderState/extractRenderState/submitModelProvider+MultiVariantGenerator, with the monitor's per-face variants emitted asModelInstanceRecipeProvideris no longer aDataProvider, so recipes go throughRecipeProvider.Runner@GameTest/@GameTestHolderwere removed in 1.21.x so tests are now registered throughRegisterGameTestsEventwith aGameTestInstancetypeI threw a build of this on our 26.1 In Dev pack and we'll be giving it a proper testing tomorrow, will fix anything we find. I'll check back for any revisions then as well. Cheers