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

My coremod seems to be somehow removing some constructors and stuff...


keepcalm
 Share

Recommended Posts

I've written a coremod which just changes the accessibility of some fields using access transformers, but for some reason when I start it up, I get errors complaining that some events don't exist.

 

The log

 


2012-10-14 19:47:22 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.35.394 for Minecraft client:1.3.2, server:1.3.2 loading
2012-10-14 19:47:22 [iNFO] [sTDOUT] Adding Accesstransformer map: bukkit_at.cfg
2012-10-14 19:47:23 [iNFO] [sTDOUT] 195 recipes
2012-10-14 19:47:23 [iNFO] [sTDOUT] 27 achievements
2012-10-14 19:47:24 [iNFO] [sTDERR] 2012-10-14 19:47:23 [iNFO] Starting minecraft server version 1.3.2
2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-10-14 19:47:24 [iNFO] [sTDOUT] MinecraftForge v4.2.5.307 Initialized
2012-10-14 19:47:24 [iNFO] [ForgeModLoader] MinecraftForge v4.2.5.307 Initialized
2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.entity.EntityJoinWorldEvent.<init>()
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.world.WorldEvent$Load.<init>()
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.world.WorldEvent$Save.<init>()
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Searching /home/simon/minecraft/forge/jars/mods for mods
2012-10-14 19:47:27 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load
2012-10-14 19:47:27 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2012-10-14 19:47:27 [iNFO] [sTDOUT] Well, we got this far...
2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Loading properties
2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Default game type: SURVIVAL
2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Generating keypair
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Starting Minecraft server on *:25565
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 3 mods
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Preparing level "mcpworld"
2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension 0 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension 1 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension -1 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Preparing start region for level 0
2012-10-14 19:47:29 [iNFO] [sTDERR] 2012-10-14 19:47:29 [iNFO] Preparing spawn area: 32%
2012-10-14 19:47:30 [iNFO] [sTDERR] 2012-10-14 19:47:30 [iNFO] Preparing spawn area: 69%
2012-10-14 19:47:31 [iNFO] [sTDERR] 2012-10-14 19:47:31 [iNFO] Done (3.047s)! For help, type "help" or "?"
2012-10-14 19:47:35 [iNFO] [sTDERR] 2012-10-14 19:47:35 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
2012-10-14 19:47:49 [iNFO] [sTDERR] 2012-10-14 19:47:49 [iNFO] User Player208 connecting with mods []
2012-10-14 19:47:49 [iNFO] [ForgeModLoader] User Player208 connecting with mods []
2012-10-14 19:47:49 [iNFO] [sTDERR] 2012-10-14 19:47:49 [iNFO] Player208[/127.0.0.1:46125] logged in with entity id 2829 at (-13.5, 65.62000000476837, 235.5)
2012-10-14 19:47:51 [sEVERE] [ForgeModLoader] A critical server error occured handling a packet, kicking net.minecraft.src.NetServerHandler@20a52f
java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:231)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:78)
at net.minecraft.src.NetServerHandler.handleCustomPayload(NetServerHandler.java:1063)
at net.minecraft.src.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)
at net.minecraft.src.TcpConnection.processReadPackets(TcpConnection.java:441)
at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:80)
at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55)
at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:32)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650)
at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
2012-10-14 19:47:51 [iNFO] [sTDERR] 2012-10-14 19:47:51 [WARNING] Failed to handle packet: java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:231)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:78)
at net.minecraft.src.NetServerHandler.handleCustomPayload(NetServerHandler.java:1063)
at net.minecraft.src.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)
at net.minecraft.src.TcpConnection.processReadPackets(TcpConnection.java:441)
at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:80)
at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55)
at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:32)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650)
at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Stopping the server
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Stopping server
2012-10-14 19:48:23 [iNFO] [sTDERR] java.net.SocketException: Socket closed
2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.PlainSocketImpl.socketAccept(Native Method)
2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:375)
2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.ServerSocket.implAccept(ServerSocket.java:470)
2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.ServerSocket.accept(ServerSocket.java:438)
2012-10-14 19:48:23 [iNFO] [sTDERR] 	at net.minecraft.src.ServerListenThread.run(ServerListenThread.java:75)
2012-10-14 19:48:23 [iNFO] [sTDOUT] Closing listening thread
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving players
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving worlds
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/Overworld
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/Nether
2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/The End
2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension 0
2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension -1
2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension 1

 

 

The access transformer .cfg file

 

public ft.o # DedicatedServer.settings - to reload the settings of the server
public td.b # CraftingManager.recipes - so we can clear recipes.
public td.a # CraftingManager.instance - to reset the CraftingManager
# public td # CraftingManager() ? - to reset the CraftingManager, again
public up.h # Let us change if worlds spawn peaceful mobs  on a world-by-world basis
public up.g # ditto, but for enemies
public et.k # lets us directly load player NBTTagCompounds for reading.

 

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

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.

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

 Share



×
×
  • Create New...

Important Information

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