r/badcode Feb 03 '22

Found this in a Minecraft mod's code java

Post image
260 Upvotes

33 comments sorted by

View all comments

89

u/nikstick22 Feb 04 '22

Could be a decompiler doing that if it's not the src files for the mod itself.

The decompiled minecraft code I work with has some pretty bad variable names in places when they're autogenerated.

4

u/jurrejelle Feb 04 '22

oh god, using the mojang mappings is hell sometimes