Port to Minecraft 1.21.4 (Fabric)#420
Open
vanlueckn wants to merge 25 commits into
Open
Conversation
Ich hab doch keine Ahnung davon
Fabric/1.20.4
Port/1.21 fabric
Switch yarn mappings to 1.21.1+build.3 and Fabric API to 0.116.11+1.21.1, raise the fabric.mod.json minecraft dep range to ~1.21.1, and rename the artifact to TC-Redstone-1.21.1-Fabric. The dependencies block now reads minecraft / yarn / loader / fabric-api versions from gradle.properties so future bumps stay in one place. The 1.21-fabric linkableapi branch keeps working unchanged.
EMITER_TILE was registered with RS_MULTI_EMITTER as its only valid
block, so placing an emitter in 1.21.1 fails BlockEntity#validateSupports
("Invalid block entity tcredstone:emitter"). The check is new in
1.21.1; the typo had been latent in the 1.21 branch.
The previous commit accidentally tracked the loom/NeoForge run output (logs, saves, crash reports). Add runs/ to .gitignore and drop them from the index.
Update the gradle / fabric.mod.json version metadata to 1.21.3 and migrate the API breaks: ItemActionResult collapsed back into ActionResult (SKIP_DEFAULT_BLOCK_INTERACTION becomes PASS_TO_DEFAULT_BLOCK_ACTION), TypedActionResult<ItemStack> removed (Item#use returns ActionResult), neighborUpdate now takes WireOrientation instead of fromPos, and BlockEntityType.Builder is gone -- replaced with FabricBlockEntityTypeBuilder from the Fabric object-builder API. Submodule URL switches to the vanlueckn fork (branch 1.21.3-fabric) which carries the matching PlayerEntity#sendMessage migration.
MC 1.21.3 requires Item.Settings#registryKey and AbstractBlock.Settings#registryKey before the Item / Block constructor runs (Item id not set / Block id not set). The registration helpers now build a RegistryKey, prime the settings factory, and pass the configured Settings into the constructor; RemoteActivator forwards the same parameter to Linkingtool.
Update yarn mappings to 1.21.4+build.8 and Fabric API to 0.119.4+1.21.4, raise the fabric.mod.json minecraft dep to ~1.21.4, and add the new assets/tcredstone/items/<id>.json wrappers — 1.21.4 needs them in addition to assets/tcredstone/models/item or the items render as the missing-texture placeholder. The 1.21.3 linkableapi branch keeps working unchanged.
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.
Portiert TC-Wireless-Redstone auf Minecraft 1.21.4 (Fabric).
Hinweis: Setzt voraus, dass zuerst MrTroble/linkableapi#10 gemergt wird, damit das Submodul gegen den Upstream-linkableapi auflöst.