BVengo / simple-shulker-preview

A minecraft fabric mod that displays a configurable icon indicating the contents of a shulker box, as well as a capacity bar.
GNU Lesser General Public License v3.0
8 stars 8 forks source link

[Bug]: 1.19.4 Fails to launch #13

Closed zndrmn closed 1 year ago

zndrmn commented 1 year ago

Describe the Bug

1.19.4 Fails to launch/compile

Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.client.render.item.ItemRenderer failed
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.client.render.item.ItemRenderer failed
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [simpleshulkerpreview.mixins.json:ItemRendererMixin from mod simpleshulkerpreview] from phase [DEFAULT] in config [simpleshulkerpreview.mixins.json] FAILED during APPLY
Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow method renderGuiItemIcon in simpleshulkerpreview.mixins.json:ItemRendererMixin from mod simpleshulkerpreview was not located in the target class net.minecraft.client.render.item.ItemRenderer. No refMap loaded.

Steps to Reproduce

Try and compile the mod

Expected Behavior

I didn't really expect anything because you know I'm trying to run the mod on an unsupported version so. It would be epic if you could port this mod to 1.19.4

Screenshots

No response

Fabric Version

0.14.19

Mod Version

2.1+1.19.4

Log Output

No response

Additional Context

No response

BVengo commented 1 year ago

Will be publishing a release soon :) Just doing some final tests, but the bugs you mentioned have been fixed - apparently there were some item rendering changes made between 1.19.3 and 1.19.4.