Jump to content

Recommended Posts

Posted

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

== ERRORS FOUND in SCALA CODE ==

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).

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.