TheGreyGhost / MinecraftByExample

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

To many errors in 1.10.2 version #35

Closed hohserg1 closed 6 years ago

hohserg1 commented 6 years ago

When I added the source from the 1.10.2 branch to my workspace, I found that there were a lot of errors in it. For example, Minecraft#thePlayer is used instead of Minecraft#player, theWorld instead world. In 1.11.2 there is no such branch.

TheGreyGhost commented 6 years ago

Hi It sounds like you're using a different version of the MCP mappings.

Look in build.gradle for this section: // the mappings can be changed at any time, and must be in the following format. // snapshotYYYYMMDD snapshot are built nightly. // stable# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not allways work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20160518"

If your mappings doesn't match, you will get a lot of these errors.

Cheers TGG

hohserg1 commented 6 years ago

I use stable_29, last version

hohserg1 commented 6 years ago

Thank you, now I understand why so many errors