Crashes on 22w18a when player comes into view
Flexico opened this issue ยท 10 comments
Either hitting F5 or opening the survival inventory immediately crash the game with the following error:
The game crashed whilst rendering entity in world
Error: java.lang.NoSuchMethodError: 'net.minecraft.class_630$class_628 net.minecraft.class_630.method_22700(java.util.Random)'
Exit Code: -1
https://pastebin.com/92swAzta
Ooooohh, the find-diamonds-by-clay thing! I remember seeing people talk about that before.
Looks like Mojang's changed the signature from net.minecraft.client.model.ModelPart$Cuboid getRandomCuboid(java.util.Random)
to net.minecraft.client.model.ModelPart$Cuboid getRandomCuboid(net.minecraft.util.math.AbstractRandom)
So they switched from Java's rng to their own function? Hah, I've done stuff like that before~
They've been switching to their own Random for a bit, mainly because Java's stock random is...not the best lmao
Looking at the code, it looks like NotRandom
will have to subclass AbstractRandom
on new versions instead of just Random
.
I'll note the "diamonds and clay correlate" isn't caused by java.util.Random's algorithmic weakness, it's caused by Mojang seeding different generators with the same seed.
I can't help but sing this out loud, with "noooo" rising in pitch for each rising superscript! XD