Closed lostallmymoney closed 1 year ago
I was able to build a working Fabric version simply by updating versions and changing net.minecraft.core.Registry
to net.minecraft.core.registries.BuiltInRegistries
fabric/src/main/java/com/illusivesoulworks/charmofundying/CharmOfUndyingFabricMod.java: ``` - import net.minecraft.core.Registry; + import net.minecraft.core.registries.BuiltInRegistries; --- - Item item = Registry.ITEM.get(ResourceLocation.tryParse(name)); + Item item = BuiltInRegistries.ITEM.get(ResourceLocation.tryParse(name)); --- - RegistryEntryAddedCallback.event(Registry.ITEM).register((rawId, id, object) -> { + RegistryEntryAddedCallback.event(BuiltInRegistries.ITEM).register((rawId, id, object) -> { ``` fabric/src/main/java/com/illusivesoulworks/charmofundying/platform/FabricPlatform.java: ``` - import net.minecraft.core.Registry; + import net.minecraft.core.registries.BuiltInRegistries; --- - return Registry.ITEM.getKey(item).toString(); + return BuiltInRegistries.ITEM.getKey(item).toString(); ``` gradle.properties: ``` - version=6.0.0+1.19.2 + version=6.1.0+1.19.3 --- - minecraft_version=1.19.2 + minecraft_version=1.19.3 --- - trinkets_version=3.4.0 + trinkets_version=3.5.0 --- - fabric_version=0.59.0+1.19.2 + fabric_version=0.70.0+1.19.3 --- - fabric_loader_version=0.14.9 - fabric_parchment_mc_version=1.18.2 - fabric_parchment_version=2022.08.07 - mod_menu_version=4.0.6 + fabric_loader_version=0.14.12 + fabric_parchment_mc_version=1.19.3 + fabric_parchment_version=2022.12.18 + mod_menu_version=5.0.2 --- - cf_versions=1.19.2,1.19.1,1.19 + cf_versions=1.19.3 ```
Released.
What is the new feature or improvement?
1.19.3 !