mojira.dev
MC-19629

Nameless attributes crash the game when hovered over

When giving an item a negative attribute (I tried Speed -50%), mousing over the item to view the attribute crashes the game.

Linked issues

MC-27855 Armor with no Attribute name crashes Minecraft Resolved MC-26741 Minecraft crashes with attribute modified tools Resolved MC-21409 Add Attributes Filter Resolved MC-20545 Attribute Filter Crash Resolved MC-20599 Ading Attributes Bug Resolved

Attachments

Comments 9

Incomplete without crash report. Please attach crash reports in the future to tickets about a crash.

You need to give it a UUID. Not Minecraft's fault.

Description: Rendering screen

java.lang.IllegalArgumentException: Modifier name cannot be empty
	at org.apache.commons.lang3.Validate.notEmpty(Validate.java:398)
	at oq.<init>(SourceFile:31)
	at tm.a(SourceFile:94)

What is the code stuff supposed to mean? Just interrested, since I might have the same problem.

That's where the error happened in Minecraft's code.

Actually has nothing to do with negative attributes, just nameless ones.

Please fix this It's not just with the negatives attributes T.T I think this is broken since 1.6.2 because in 1.6.1 this works Sorry for my bad English or grammar

I was building some stuff then it crashed the game now I can't access the world! 😞
+1 Confirmed

Daniel, I know how you can fix this, try using MCEdit to check for unknown blocks, or NBTExplorer to check for unknown items, I once had a problem like that and it took me both MCEdit and NBTEdit to fix it, by the way NBTEdit can't be used in 1.7 seems like that 1.7 has changed to much in the coding for NBTEdit.

Duncan Sparks

(Unassigned)

Unconfirmed

Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w39b, Minecraft 13w42b

Retrieved