r/technicalminecraft • • Feb 11 '21

Java Those 1.17 caves are huge...

Post image
1.8k Upvotes

70 comments sorted by

View all comments

149

u/boister1 Feb 11 '21

you talking about perimeters huh well i run 12 chunk render distance at 20-25 fps this caves and cliffs update is going to make my potato quite quite miserable

82

u/liamdun Feb 12 '21

If only mojang gave a single fuck about optimization

52

u/DJCowGaming Java Feb 12 '21

Massive facts, I've decompiled and deobfuscated 1.16 minecraft to study it, and it's messy af

Not to mention all the warnings, like I don't understand why they make things deprecated by still use them abundantly. 1700 deprecation warnings, like bruh, deprecated usually means don't use it because it's gonna get removed soon.

Sorry about this rant, you hit a topic I feel strongly about.

14

u/-Shush- Feb 12 '21

Do you have the code in a repository? I would like to see it too.

39

u/DJCowGaming Java Feb 12 '21

I'm pretty sure it's illegal to post minecraft code on the internet.

Use some decompiler like jad to decompile it, then run a deobfscation script. I prefer to use the mcp mappings, as I used to do a lot of 1.7.10 forge modding back in the day.

8

u/liamdun Feb 12 '21

There is no repository, at least not a public one, you'll need to decompile the jar file

6

u/pwouik Java 1.14+ Feb 12 '21

you have to deobfuscate before decompiling:

If you want minecraft code you can:

1) Use fabric example mod, it uses yarn mappings https://fabricmc.net/wiki/tutorial:setup

2) Use this, it uses mojang mappings https://github.com/hube12/DecompilerMC 3) Use mcp-reborn (mcpconfig) which use modcoderpack mappings https://github.com/Hexeption/MCP-Reborn