Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.minecraft.server.v1_7_R1.EntityLiving not found #22

Open
WhenToBen opened this issue May 18, 2014 · 2 comments
Open

net.minecraft.server.v1_7_R1.EntityLiving not found #22

WhenToBen opened this issue May 18, 2014 · 2 comments

Comments

@WhenToBen
Copy link

When I was compiling CivCraft, Eclipse gave an error that net.minecraft.server.v1_7_R1.EntityLiving couldn't be found. I compiled it anyway and in Spigot I get this error:

[Server thread/ERROR]: Could not pass event EntityDeathEvent to CivCraft v1.0
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at org.bukkit.craftbukkit.v1_7_R2.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:349) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityChicken.dropDeathLoot(EntityChicken.java:106) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityLiving.die(EntityLiving.java:791) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityLiving.damageEntity(EntityLiving.java:739) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityAnimal.damageEntity(SourceFile:145) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityLiving.B(EntityLiving.java:185) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityInsentient.B(EntityInsentient.java:111) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.Entity.h(Entity.java:255) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityLiving.h(EntityLiving.java:1274) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.EntityInsentient.h(EntityInsentient.java:150) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.World.entityJoinedWorld(World.java:1484) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.World.playerJoinedWorld(World.java:1460) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.World.tickEntities(World.java:1329) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.WorldServer.tickEntities(WorldServer.java:515) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:676) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_7_R1/entity/CraftLivingEntity
    at com.avrgaming.moblib.MobLib.isMobLibEntity(MobLib.java:51) ~[?:?]
    at com.avrgaming.civcraft.pvplogger.PvPLogger.onEntityDeath(PvPLogger.java:167) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[spigot-civcraft.jar:git-Spigot-1.7.2-R0.3-133-gf5f9a0d]
    ... 23 more

Can someone help me please? Thanks.

@githubnemo
Copy link

Note that the bukkit version does not necessarily correspond with the minecraft server API version. You want to use craftbukkit 1.7.5 which includes the server.1_7_R2.* classes.

@WhenToBen
Copy link
Author

Oh, I see. Thanks for the heads-up. I'll recompile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants