After switching my JDK to 1.8, I was given 6 errors and they were all about rendering. Here are the following errors:
The method addLayer(U) in the type RendererLivingEntity<AbstractClientPlayer> is not applicable for the arguments (LayerCape)
The method addLayer(U) in the type RendererLivingEntity<EntityDragon> is not applicable for the arguments (LayerEnderDragonEyes)
The method addLayer(U) in the type RendererLivingEntity<EntityEnderman> is not applicable for the arguments (LayerEndermanEyes)
The method addLayer(U) in the type RendererLivingEntity<EntitySheep> is not applicable for the arguments (LayerSheepWool)
The method addLayer(U) in the type RendererLivingEntity<EntityWolf> is not applicable for the arguments (LayerWolfCollar)
The method addLayer(U) in the type RendererLivingEntity<T> is not applicable for the arguments (LayerSpiderEyes)
Why would this be happening after I change the JDK to 1.8?
This thread is the only result I could find mentioning these specific errors but I assume that MCP wasn't designed to run on JDK 1.8, though it must be an issue with MCP itself since Minecraft 1.8.8 runs on Java 8 without any issues (according to the Wiki, they updated Fernflower, one of the tools that MCP uses, to Java 8 with the 1.12 release, the first version that required Java 8 to run).
Also, just updating the JDK won't necessarily do anything since MCP itself has to be told to compile for a newer version; for example, MCP for 1.6.4 compiles to Java 6 by default (set by "-source 1.6 -target 1.6" in "CmdRecomp") so even though I use JDK 1.7 the compiled code is still compatible with Java 6, and trying to use any features from newer Java versions will give a compile time error (I've never changed it or updated the JDK since I've never had any need to. The Readme file only mentions JDK 1.7 as being compatible (of course, Java 8 didn't even exist yet; Minecraft 1.8 was released later but MCP may have not updated yet).
Hey there!
After switching my JDK to 1.8, I was given 6 errors and they were all about rendering. Here are the following errors:
The method addLayer(U) in the type RendererLivingEntity<AbstractClientPlayer> is not applicable for the arguments (LayerCape)
The method addLayer(U) in the type RendererLivingEntity<EntityDragon> is not applicable for the arguments (LayerEnderDragonEyes)
The method addLayer(U) in the type RendererLivingEntity<EntityEnderman> is not applicable for the arguments (LayerEndermanEyes)
The method addLayer(U) in the type RendererLivingEntity<EntitySheep> is not applicable for the arguments (LayerSheepWool)
The method addLayer(U) in the type RendererLivingEntity<EntityWolf> is not applicable for the arguments (LayerWolfCollar)
The method addLayer(U) in the type RendererLivingEntity<T> is not applicable for the arguments (LayerSpiderEyes)
Why would this be happening after I change the JDK to 1.8?
All help is appreciated, thank you!
This thread is the only result I could find mentioning these specific errors but I assume that MCP wasn't designed to run on JDK 1.8, though it must be an issue with MCP itself since Minecraft 1.8.8 runs on Java 8 without any issues (according to the Wiki, they updated Fernflower, one of the tools that MCP uses, to Java 8 with the 1.12 release, the first version that required Java 8 to run).
Also, just updating the JDK won't necessarily do anything since MCP itself has to be told to compile for a newer version; for example, MCP for 1.6.4 compiles to Java 6 by default (set by "-source 1.6 -target 1.6" in "CmdRecomp") so even though I use JDK 1.7 the compiled code is still compatible with Java 6, and trying to use any features from newer Java versions will give a compile time error (I've never changed it or updated the JDK since I've never had any need to. The Readme file only mentions JDK 1.7 as being compatible (of course, Java 8 didn't even exist yet; Minecraft 1.8 was released later but MCP may have not updated yet).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Change addLayer in RendererLivingEntity to this:
Im 2 years late but bro you are a god send.
Im 2 years late but bro you are a god send.
BRO THANK YOU SO MUCH!!! YOUR A LIFE SAVER