Skip to content

Port to Minecraft 1.21.4 (Fabric)#420

Open
vanlueckn wants to merge 25 commits into
MrTroble:1.21.4-fabric-masterfrom
vanlueckn:1.21.4-fabric
Open

Port to Minecraft 1.21.4 (Fabric)#420
vanlueckn wants to merge 25 commits into
MrTroble:1.21.4-fabric-masterfrom
vanlueckn:1.21.4-fabric

Conversation

@vanlueckn

Copy link
Copy Markdown
Collaborator

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.

Jeronimo97 and others added 25 commits February 2, 2024 21:25
Ich hab doch keine Ahnung davon
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants