Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Absolutely bizarre error when compiling


Recommended Posts

I'm writing my mod in Scala, and I suddenly started getting these errors when compiling:


== Recompiling client ==
> Cleaning bin
> Recompiling
'"scalac" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib:lib/*:jars/bin/minecraft.jar:j...' failed : 1


src/minecraft/cpw/mods/fml/common/IFMLSidedHandler.java:29: error: value EntityRegistration is not a member of object cpw.mods.fml.common.registry.EntityRegistry
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;

src/minecraft/cpw/mods/fml/common/IFMLSidedHandler.java:42: error: not found: type EntityRegistration
    Entity spawnEntityIntoClientWorld(EntityRegistration registration, EntitySpawnPacket packet);


I don't edit those classes, and I haven't restarted my computer or anything. That problem just started happening when I compiled one time, and now it won't go away. What can I do? I'm using Scala 2.10.0 (not sure if 2.10.1 is compatible).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.