rikka0w0 / MobZReborn

Continued of https://github.com/Globox1997/MobZ
https://www.curseforge.com/minecraft/mc-mods/mobz
7 stars 1 forks source link

[3.2.0 Mobz] Crash on Pillager Boss Summon #6

Closed itsdinkd closed 2 years ago

itsdinkd commented 2 years ago

https://pastebin.com/qG3hm72X

Player crashes when summoning Pillager Boss

rikka0w0 commented 2 years ago

This is weird, what seems to be missing is a vanilla function: https://github.com/rikka0w0/MobZReborn/blob/dbef959668537d6f879edd47eb8d8f9adb62eda9/src/main/java/net/mobz/block/TotemBase.java#L67

rikka0w0 commented 2 years ago

I cannot reproduce this error. My setup is:

[00:17:32] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[00:17:33] [main/INFO]: Loading 55 mods:
    - cloth-basic-math 0.6.0 via cloth-config
    - cloth-config 6.1.48
    - fabric 0.46.4+1.18
    - fabric-api-base 0.4.2+d7c144a865 via fabric
    - fabric-api-lookup-api-v1 1.5.3+d7c144a865 via fabric
    - fabric-biome-api-v1 6.0.2+d7c144a865 via fabric
    - fabric-blockrenderlayer-v1 1.1.10+3ac43d9565 via fabric
    - fabric-command-api-v1 1.1.7+d7c144a865 via fabric
    - fabric-commands-v0 0.2.6+b4f4f6cd65 via fabric
    - fabric-containers-v0 0.1.19+d7c144a865 via fabric
    - fabric-content-registries-v0 0.4.8+d7c144a865 via fabric
    - fabric-crash-report-info-v1 0.1.9+3ac43d9565 via fabric
    - fabric-dimensions-v1 2.1.10+a1d9bbf565 via fabric
    - fabric-entity-events-v1 1.4.6+d7c144a865 via fabric
    - fabric-events-interaction-v0 0.4.17+d7c144a865 via fabric
    - fabric-events-lifecycle-v0 0.2.9+d7c144a865 via fabric
    - fabric-game-rule-api-v1 1.0.11+d7c144a865 via fabric
    - fabric-item-api-v1 1.3.1+691a79b565 via fabric
    - fabric-item-groups-v0 0.3.6+3ac43d9565 via fabric
    - fabric-key-binding-api-v1 1.0.9+d7c144a865 via fabric
    - fabric-keybindings-v0 0.2.7+b4f4f6cd65 via fabric
    - fabric-lifecycle-events-v1 1.4.13+713c266865 via fabric
    - fabric-loot-tables-v1 1.0.9+d7c144a865 via fabric
    - fabric-mining-level-api-v1 1.0.6+d7c144a865 via fabric
    - fabric-mining-levels-v0 0.1.11+b4f4f6cd65 via fabric
    - fabric-models-v0 0.3.4+d7c144a865 via fabric
    - fabric-networking-api-v1 1.0.19+d7c144a865 via fabric
    - fabric-networking-v0 0.3.6+b4f4f6cd65 via fabric
    - fabric-object-builder-api-v1 1.11.4+d7c144a865 via fabric
    - fabric-object-builders-v0 0.7.12+d7c144a865 via fabric
    - fabric-particles-v1 0.2.10+526dc1ac65 via fabric
    - fabric-registry-sync-v0 0.9.2+ad01bfbd65 via fabric
    - fabric-renderer-api-v1 0.4.11+b0b66fc365 via fabric
    - fabric-renderer-indigo 0.4.15+6825030165 via fabric
    - fabric-renderer-registries-v1 3.2.10+b4f4f6cd65 via fabric
    - fabric-rendering-data-attachment-v1 0.3.5+d7c144a865 via fabric
    - fabric-rendering-fluids-v1 0.1.19+3ac43d9565 via fabric
    - fabric-rendering-v0 1.1.12+b4f4f6cd65 via fabric
    - fabric-rendering-v1 1.10.6+713c266865 via fabric
    - fabric-resource-conditions-api-v1 1.0.2+d7c144a865 via fabric
    - fabric-resource-loader-v0 0.4.14+713c266865 via fabric
    - fabric-screen-api-v1 1.0.8+d7c144a865 via fabric
    - fabric-screen-handler-api-v1 1.1.12+d7c144a865 via fabric
    - fabric-structure-api-v1 2.1.3+d7c144a865 via fabric
    - fabric-tag-extensions-v0 1.2.8+d7c144a865 via fabric
    - fabric-textures-v0 1.0.10+3ac43d9565 via fabric
    - fabric-tool-attribute-api-v1 1.3.8+fb3b57b465 via fabric
    - fabric-transfer-api-v1 1.5.9+d7c144a865 via fabric
    - fabricloader 0.12.12
    - fabricshieldlib 1.4.5-1.18
    - java 17
    - lanserverproperties 1.7
    - minecraft 1.18.1
    - mobz 3.3.1
    - modmenu 3.0.1
rikka0w0 commented 2 years ago

I guess one of your mods changes the vanilla class. Add this: https://docs.spongepowered.org/stable/en/contributing/implementation/debugging/mixin.html to your launch argument and send me net.minecraft.class_1951 and net.minecraft.class_1937.method_8397 inside the .mixin.out folder, so that I can have a closer look.

rikka0w0 commented 2 years ago

Oh, I see, you are using version 3.2.0 on Minecraft 1.18.1, which is NOT okay. That function is different in 1.17.1 and 1.18.1. Please move to the latest 3.3.1 for Minecraft 1.18.1.

itsdinkd commented 2 years ago

Well yeah I loved your mod so much I overrided the Mc version so my modpack could get your wonderful mobs.

I already updated the modpack with your latest release but had to override the mod loader dependency