Pitan76 / MCPitanLib

Pitan's Minecraft Mod Library
MIT License
0 stars 1 forks source link

Error when attempting to start 1.16.5 fabric server #5

Open gcbrown opened 6 months ago

gcbrown commented 6 months ago

Hi @PTOM76 , I'm getting an issue trying to load Advanced Reborn in a 1.16.5 fabric server. I cannot reproduce the error on a client, only in a server, which is strange.

Minimal steps to reproduce:

  1. Download https://fabricmc.net/use/server/, mc version == 1.16.5, fabric loader version == 0.15.*, installer version = any
  2. Copy the latest version of Advanced Reborn and its 5 dependencies (MCPitanLib, Architectury, Fabric API, Reborn Core, Tech Reborn) to the mods/ folder in the server
  3. Attempt to start the server

Stack trace copied below. The key part seems to be trying to pull in a minecraft object that doesn't exist? Still, I don't understand why it would work fine in a client but not in a server. Hoping these clues can help. Appreciate your work and hoping you have the time to check this out.

[23:06:44] [main/WARN]: Error loading class: net/minecraft/class_1836 (java.lang.ClassNotFoundException: net/minecraft/class_1836) [23:06:44] [main/ERROR]: Mixin apply for mod mcpitanlib failed mcpitanlib-common.mixins.json:ItemMixin from mod mcpitanlib -> net.minecraft.class_1792: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded ClassMetadataNotFoundException whilst transforming the mixin class: [MAIN Applicator Phase -> mcpitanlib-common.mixins.json:ItemMixin from mod mcpitanlib -> Apply Methods -> (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V:handler$zgi000$mcpitanlib$appendTooltip -> Transform LVT -> var=context -> desc=Lnet/minecraft/class_1836;] org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded ClassMetadataNotFoundException whilst transforming the mixin class: [MAIN Applicator Phase -> mcpitanlib-common.mixins.json:ItemMixin from mod mcpitanlib -> Apply Methods -> (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V:handler$zgi000$mcpitanlib$appendTooltip -> Transform LVT -> var=context -> desc=Lnet/minecraft/class_1836;]

error.txt