Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)
at java.lang.Class.getConstructor0(Class.java:3067)
at java.lang.Class.newInstance(Class.java:408)
at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.instantiate(SimpleNetworkWrapper.java:113)
at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.registerMessage(SimpleNetworkWrapper.java:106)
at thehippomaster.AnimationAPI.AnimationAPI.init(AnimationAPI.java:27)
If you 'backtrace' the logs, you eventually see that it is caused 'at thehippomaster.AnimationAPI.AnimationAPI.init(AnimationAPI.java:27)'.
Is it as simple as removing .zip from the name? Not too familiar with Java/JAR's. And can i change the Pams Clay spawn from .zip to .jar?
Yes, it is as simple as that
If you can't spot these errors yourself, you have to stop modding now (!), learn Java, make a application yourself (no google) and then come back to modding.
The problem is that you copied it. You are never getting anywhere when copying things from other people. And you probably don't even know what that code does, right? And you are never getting anywhere in Minecraft modding if you don't know the most basic Java there is.
1) The only WorldTickEvents are called with Side.SERVER as the side, so you don't need to checkfor client/server.
2) The more dimensions there are, the more the WorldTickEvent gets fired.
You have to render your cable in one of the rendering methods for a
TMultiPart
. See the
'Rendering'
section: http://www.minecraftforge.net/forum/index.php/topic,22503.0.html (by Busti)
For transfering over data from the
TileEntity
to the
TMultiPart
, I suggest you look at this:
http://whov.altervista.org/dealing-with-tile-entities-in-multiparts/ (by Whov)
You can check if the player has an Item in it's inventory with this:
player.inventory.hasItem(Item)
.
You can allow creative flying by setting
player.capabilities.allowFlying
to
true
.