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

keepcalm

Forge Modder
  • Posts

    281
  • Joined

  • Last visited

Posts posted by keepcalm

  1. I can load the game, execute commands with essentials in game, but the moment i place any block this happens and the game crashes.

     

    2012-12-13 01:39:47 [iNFO] [sTDERR] java.lang.NoSuchMethodError: iq.h(F)Laob;

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.Pla

    yerUtilities.getTargetBlock(PlayerUtilities.java:17)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.For

    geEventHandler.playerSaysHai(ForgeEventHandler.java:220)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

    ler_98_ForgeEventHandler_playerSaysHai_PlayerInteractEvent.invoke(.dynamic)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

    ler.invoke(ASMEventHandler.java:35)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.EventBus.pos

    t(EventBus.java:103)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ForgeEventFa

    ctory.onPlayerInteract(ForgeEventFactory.java:25)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at ir.a(ItemInWorldManager.java:378)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.a(NetServerHandler.java:564)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at fl.a(SourceFile:58)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at cg.b(TcpConnection.java:451)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.d(NetServerHandler.java:87)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at iw.b(NetworkListenThread.java:55)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at ht.b(SourceFile:30)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

    r(MinecraftServer.java:696)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at ho.r(DedicatedServer.java:252)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

    q(MinecraftServer.java:592)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

    run(MinecraftServer.java:499)

    2012-12-13 01:39:47 [iNFO] [sTDERR]    at fy.run(SourceFile:856)

    2012-12-13 01:39:47 [sEVERE] [Minecraft] Encountered an unexpected exception NoS

    uchMethodError

    java.lang.NoSuchMethodError: iq.h(F)Laob;

            at keepcalm.mods.bukkit.forgeHandler.PlayerUtilities.getTargetBlock(Play

    erUtilities.java:17)

            at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.playerSaysHai(For

    geEventHandler.java:220)

            at net.minecraftforge.event.ASMEventHandler_98_ForgeEventHandler_playerS

    aysHai_PlayerInteractEvent.invoke(.dynamic)

            at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:

    35)

            at net.minecraftforge.event.EventBus.post(EventBus.java:103)

            at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEven

    tFactory.java:25)

            at ir.a(ItemInWorldManager.java:378)

            at iv.a(NetServerHandler.java:564)

            at fl.a(SourceFile:58)

            at cg.b(TcpConnection.java:451)

            at iv.d(NetServerHandler.java:87)

            at iw.b(NetworkListenThread.java:55)

            at ht.b(SourceFile:30)

            at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:696)

            at ho.r(DedicatedServer.java:252)

            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:592)

            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:499)

            at fy.run(SourceFile:856)

    But, as it happens, you can't read. It's a known bug, use the issues tracker on github next time!

  2. Block Break Event

    Would this work to notify my mod that a block is broken by a creeper or IC2 mining laser?

     

    Does your code need to run on the client side as well, because I'm making a server side only mod?

     

    I tried to use this in my mod for Chunk Protection, but it doesn't seem to work.

     

    I tried placing your source code "keepcalm\mods\blockbreak" in "src\common" or "src\minecraft"

     

    There are no error messages.

    This was the first time I tried to use outside code with my own mod, so I may be missing something.

     

    --snip--

     

    Should probably add this to the OP, but for now:

     

    In eclipse, click on the arrow next to the 'run' button, click on 'run configurations', and then select which setup you're using to test (Server or Client). Choose the second tab from the left, and in 'java arguments' add this:

     

    -Dfml.coreMods.load=keepcalm.mods.blockbreak.asm.BlockBreakLoadingPlugin

     

    And about the sided-ness, I think it's server-side, it adds the call to ItemInWorldManager.

     

    And, @blindahl, can I suggest using mystcraft? Since you're moving to forge anyway? But I'll see how MV works with Bukkit4Vanilla, I need to test the world code ;)

×
×
  • Create New...

Important Information

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