Ears (+ Snouts/Muzzles, Tails, Horns, Wings, and More)

Ears (+ Snouts/Muzzles, Tails, Horns, Wings, and More)

1M Downloads

Crashes on 22w18a when player comes into view

Flexico opened this issue ยท 10 comments

commented

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

commented

Ooooohh, the find-diamonds-by-clay thing! I remember seeing people talk about that before.

commented

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)

commented

So they switched from Java's rng to their own function? Hah, I've done stuff like that before~

commented

They've been switching to their own Random for a bit, mainly because Java's stock random is...not the best lmao

commented

Looking at the code, it looks like NotRandom will have to subclass AbstractRandom on new versions instead of just Random.

commented

nooooooooooooooooo

commented

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.

commented

I can't help but sing this out loud, with "noooo" rising in pitch for each rising superscript! XD

commented

Wooooo thanks! ^^

commented

I released a 1.19 port the other day.