Crash when joining world with create
Xalcon opened this issue ยท 2 comments
This issue occurs with the most recent create update, crashing the game when loading a world with the following error:
java.lang.NoSuchMethodError: 'void com.simibubi.create.AllMovementBehaviours.addMovementBehaviour(net.minecraft.world.level.block.Block, com.simibubi.create.content.contraptions.components.structureMovement.MovementBehaviour)'
My quick investigation showed that create seemingly renamed the AllMovementBehaviours.addMovementBehaviour()
method to AllMovementBehaviours.movementBehaviour()
in this commit: Creators-of-Create/Create@c194f32
Looks like the method wasnt just renamed but the signature changed completely.
Minecraft Version: 1.18.2
Mod List:
client-1.18.2-20220404.173914-srg.jar |Minecraft |minecraft |1.18.2 |DONE |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
forge-1.18.2-40.1.60-universal.jar |Forge |forge |40.1.60 |DONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
flywheel-forge-1.18-0.6.4.jar |Flywheel |flywheel |1.18-0.6.4.87 |DONE |Manifest: NOSIGNATURE
create-mc1.18.2_v0.5.0a.jar |Create |create |0.5.0a |DONE |Manifest: NOSIGNATURE
selene-1.18.2-1.17.9.jar |Selene |selene |1.18.2-1.17.9 |DONE |Manifest: NOSIGNATURE
supplementaries-1.18.2-1.4.7.jar |Supplementaries |supplementaries |1.18.2-1.4.7 |DONE |Manifest: NOSIGNATURE
Flywheel Backend: GL33 Instanced Arrays
FML: 40.1
Forge: net.minecraftforge:40.1.60
The correct calls seem to look like this
AllMovementBehaviours.registerBehaviour(ModRegistry.BAMBOO_SPIKES.get().delegate, new BambooSpikesBehavior());
AllMovementBehaviours.registerBehaviour(ModRegistry.HOURGLASS.get().delegate, new HourglassBehavior());
I've looked into the code and while I was able to compile and run it locally, it seems its an outdated version (or 1.18.2 is not the correct branch for this), so I'm not going to do a PR.