mojira.dev
MC-50073

It is possible to change the missing block model

It is possible to change the "missing block" model using a resource pack.
If you break the model, then the game has no model to call when it has a broken or missing model, causing the game to crash.

The fix is simple, do what was done with the missing texture, and don't allow it to be changed by resource packs (hard code the model).

I know this could be qualified as "don't do things that obviously crash the game", but this is still a bug.

Attachments

Comments 7

Please provide a sample crash report for this issue.

Description: Tesselating block model

java.lang.NullPointerException: Tesselating block model
	at btc.a(SourceFile:105)
	at btc.b(SourceFile:51)
	at bsb.a(SourceFile:221)
	at bsa.b(SourceFile:370)
	at bqx.a(SourceFile:163)
	at brj.a(SourceFile:1401)
	at brc.a(SourceFile:1097)
	at brc.b(SourceFile:935)
	at bdq.ah(SourceFile:818)
	at bdq.f(SourceFile:745)
	at net.minecraft.client.main.Main.main(SourceFile:121)

Update, the game now crashes as soon as it loads with the broken missing block model.
Of course, it does the same with any other broken model.

After some testing, it seems to be less of a problem, since broken models crash the game instead of returning missing.
The Missing model is now used by blocks with nonexistent damage values, and ones you forgot the model for.

Another update on this bug. The game no longer crashes when loading a broken model, unless it is the MissingNo model.

Update to those concerned, the model is now hard coded, like the missing texture.

KnightMiner

migrated

Unconfirmed

Minecraft 14w07a, Minecraft 14w08a, Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11b, Minecraft 14w17a

Minecraft 14w18a

Retrieved