TheGreyGhost / MinecraftByExample

Working sample code for the basic concepts in Minecraft and Forge.
Other
1.24k stars 187 forks source link

Incompatibilities with 1.16.5 #75

Open FergMcb opened 3 years ago

FergMcb commented 3 years ago

When I try to compile the latest (1.16.4?) version in 1.16.5, I get serious errors such as Material.ROCK not found - it appears that only Material.STONE exists in the Material class.

Am I doing something wrong?

TheGreyGhost commented 3 years ago

Howdy You're probably not doing anything wrong, that's pretty normal behaviour when Forge is updated. A lot of the names in the sourcecode change to something else when the name mapping is updated.

I'm planning to update from 1.16.4 to 1.16.5 very shortly as soon as Real Life things settle down.

Alternatively, you can try to fix the errors yourself; generally I found it doesn't take very long because it's usually pretty obvious what the name has been changed to when you look in the code. But it's quite possible that a couple of the more complicated examples will stop working if the source code behaviour has changed.

-TGG