Jump to content

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


keepcalm

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://pastebin.com/VwpAW6PX My game crashes upon launch when trying to implement the Oculus mod to this mod compilation, above is the crash report, I do not know where to begin to attempt to fix this issue and require assistance.
    • https://youtube.com/shorts/gqLTSMymgUg?si=5QOeSvA4TTs-bL46
    • CubeHaven is a SMP server with unique features that can't be found on the majority of other servers! Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132 3 different stores: - CubeHaven Store: Our store to purchase using real money. - Bitcoin Store: Store for Bitcoin. Bitcoin can be earned from playing the server. Giving options for players if they want to spend real money or grind to obtain exclusive packages. - Black Market: A hidden store for trading that operates outside our traditional stores, like custom enchantments, exclusive items and more. Some of our features include: Rank Up: Progress through different ranks to unlock new privileges and perks. 📈 Skills: RPG-style skill system that enhances your gaming experience! 🎮 Leaderboards: Compete and shine! Top players are rewarded weekly! 🏆 Random Teleporter: Travel instantly across different worlds with a click! 🌐 Custom World Generation: Beautifully generated world. 🌍 Dungeons: Explore challenging and rewarding dungeons filled with treasures and monsters. 🏰 Kits: Unlock ranks and gain access to various kits. 🛠️ Fishing Tournament: Compete in a friendly fishing tournament! 🎣 Chat Games: Enjoy games right within the chat! 🎲 Minions: Get some help from your loyal minions. 👥 Piñata Party: Enjoy a festive party with Piñatas! 🎉 Quests: Over 1000 quests that you can complete! 📜 Bounty Hunter: Set a bounty on a player's head. 💰 Tags: Displayed on nametags, in the tab list, and in chat. 🏷️ Coinflip: Bet with other players on coin toss outcomes, victory, or defeat! 🟢 Invisible & Glowing Frames: Hide your frames for a cleaner look or apply a glow to it for a beautiful look. 🔲✨[ Player Warp: Set your own warp points for other players to teleport to. 🌟 Display Shop: Create your own shop and sell to other players! 🛒 Item Skins: Customize your items with unique skins. 🎨 Pets: Your cute loyal companion to follow you wherever you go! 🐾 Cosmetics: Enhance the look of your character with beautiful cosmetics! 💄 XP-Bottle: Store your exp safely in a bottle for later use! 🍶 Chest & Inventory Sorting: Keep your items neatly sorted in your inventory or chest! 📦 Glowing: Stand out from other players with a colorful glow! ✨ Player Particles: Over 100 unique particle effects to show off. 🎇 Portable Inventories: Over virtual inventories with ease. 🧳 And a lot more! Become part of our growing community today! Discord: https://cubehaven.net/discord Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132
    • # Problematic frame: # C [libopenal.so+0x9fb4d] It is always the same issue - this refers to the Linux OS - so your system may prevent Java from working   I am not familiar with Linux - check for similar/related issues  
  • Topics

×
×
  • Create New...

Important Information

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