illusivesoulworks / charmofundying

Minecraft Mod: Adds curio support for the Totem of Undying so you don't have to be holding it.
https://www.curseforge.com/minecraft/mc-mods/curio-of-undying
Other
4 stars 13 forks source link

[Feature]: 1.19.3 #18

Closed lostallmymoney closed 1 year ago

lostallmymoney commented 1 year ago

What is the new feature or improvement?

1.19.3 !

nimids commented 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

Exact Changes:

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 ```

TheIllusiveC4 commented 1 year ago

Released.