Skip to content

Port to Minecraft 1.21.3 (NeoForge)#423

Open
vanlueckn wants to merge 13 commits into
MrTroble:1.21.3-neoforge-masterfrom
vanlueckn:1.21.3-neoforge
Open

Port to Minecraft 1.21.3 (NeoForge)#423
vanlueckn wants to merge 13 commits into
MrTroble:1.21.3-neoforge-masterfrom
vanlueckn:1.21.3-neoforge

Conversation

@vanlueckn

Copy link
Copy Markdown
Collaborator

Portiert TC-Wireless-Redstone auf Minecraft 1.21.3 (NeoForge).

Hinweis: Setzt voraus, dass zuerst MrTroble/linkableapi#9 gemergt wird, damit das Submodul gegen den Upstream-linkableapi auflöst.

Jeronimo97 and others added 13 commits August 6, 2024 10:40
1.20.4 ref: update linkable api, remoteactivator
Replace ForgeGradle with NeoGradle userdev 7.0.171, swap
net.minecraftforge.* APIs for net.neoforged.* (Mod constructor takes
IEventBus, DeferredHolder replaces RegistryObject, BuiltInRegistries
replaces ForgeRegistries), rename mods.toml to neoforge.mods.toml,
and point the linkableapi submodule at the vanlueckn fork's
1.21-neoforge branch. Bumps Gradle wrapper to 8.10 (required by
NeoGradle 7.x).
Update neoforge_version to 21.1.196, raise minecraft and neoforge
dependency ranges in neoforge.mods.toml, and rename the artifact to
TC-Redstone-1.21.1. Reuses the existing linkableapi 1.21-neoforge
branch unchanged.
Update neoforge_version to 21.3.86, bump dependency ranges, and
raise pack_format to 42. Migrate API breaks: ItemInteractionResult
collapsed back into InteractionResult (SKIP_DEFAULT_BLOCK_INTERACTION
becomes TRY_WITH_EMPTY_HAND), InteractionResultHolder removed (Item#use
returns InteractionResult), BlockEntityType.Builder removed in favor of
the BlockEntityType constructor, and neighborChanged now takes
Orientation instead of fromPos. Switch the linkableapi submodule to
the new 1.21.3-neoforge branch.
Use DeferredRegister.Blocks#registerBlock and
DeferredRegister.Items#registerItem so Properties get a ResourceKey
attached via setId before the Block/Item constructors run. MC 1.21.3
otherwise crashes RegisterEvent dispatch with "Block id not set" /
"Trying to access unbound value". RemoteActivator now takes
Item.Properties to match the new Linkingtool constructor.
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.

3 participants