Andrew6rant / InventoryTabs

Adds tabs to access nearby blocks
https://www.curseforge.com/minecraft/mc-mods/inventory-tabs-updated
MIT License
40 stars 18 forks source link

crash with 1.19.3 #78

Closed litoj closed 1 year ago

litoj commented 2 years ago

when attempting to save settings it crashes with the same error many other mods get in this weird update:

Caused by: java.lang.NoSuchFieldError: field_11146
    at com.kqp.inventorytabs.api.TabProviderRegistry.init(TabProviderRegistry.java:60) ~[inventorytabs-0.9.beta-1.19.x.jar:?]
    at com.kqp.inventorytabs.init.InventoryTabs.lambda$onInitialize$0(InventoryTabs.java:30) ~[inventorytabs-0.9.beta-1.19.x.jar:?]
    at me.shedaniel.autoconfig.ConfigManager.save(ConfigManager.java:75) ~[cloth-config-9.0.94-fabric.jar:?]
    at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
    at me.shedaniel.clothconfig2.gui.AbstractConfigScreen.save(AbstractConfigScreen.java:182) ~[cloth-config-9.0.94-fabric.jar:?]
    at me.shedaniel.clothconfig2.gui.ClothConfigScreen.save(ClothConfigScreen.java:322) ~[cloth-config-9.0.94-fabric.jar:?]
    at me.shedaniel.clothconfig2.gui.AbstractConfigScreen.saveAll(AbstractConfigScreen.java:172) ~[cloth-config-9.0.94-fabric.jar:?]
    at me.shedaniel.clothconfig2.gui.ClothConfigScreen.lambda$init$3(ClothConfigScreen.java:132) ~[cloth-config-9.0.94-fabric.jar:?]
    at net.minecraft.class_4185.method_25306(class_4185.java:94) ~[client-intermediary.jar:?]
    at net.minecraft.class_4264.method_25348(class_4264.java:16) ~[client-intermediary.jar:?]
    at net.minecraft.class_339.method_25402(class_339.java:172) ~[client-intermediary.jar:?]
    at net.minecraft.class_4069.method_25402(class_4069.java:31) ~[client-intermediary.jar:?]
    at me.shedaniel.clothconfig2.gui.AbstractConfigScreen.method_25402(AbstractConfigScreen.java:263) ~[cloth-config-9.0.94-fabric.jar:?]
    at net.minecraft.class_312.method_1611(class_312.java:94) ~[client-intermediary.jar:?]
    at net.minecraft.class_437.method_25412(class_437.java:492) ~[client-intermediary.jar:?]
    ... 24 more
dhyces commented 2 years ago

current version of inventory tabs, 1.19.'x'-0.9.beta, is broken with 1.19.3 due to registry changes

litoj commented 2 years ago

Is it a simple fix?

dhyces commented 2 years ago

it's pretty much just changing some names, so yeah

Robben-BRK commented 1 year ago

and what should be changed? I have the same issue as JosefLitos

litoj commented 1 year ago

PR #80 updated the mod to be compatible with 1.19.3.

image I am using this version now and everything works fine for me. Do you use the same version @Robben-BRK ?