Jump to content

acomputerdog

Members
  • Posts

    20
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

acomputerdog's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Your welcome! It's what I do with everything: "If it stops working for no apparent reason: turn it off and on again." It works for nearly everything.
  2. What IDE are you using? If its intelli-j try doing a full rebuild or restarting it. Mine will glitch up like that sometimes.
  3. I don't use DummyModContainer, so I don't know how much I can help. But I think your IDE may be trying to import the wrong class. I'm pretty sure there is an event bus class somewhere in FML that has the same name. If you'r IDE has an autocomplete function (eclipse, Intell-j, probably more), try referencing "EventBus" and see what import options it gives.
  4. Thank you for pointing that out. I was pretty sure ASM would be smoother, but when I did try it it kept refusing to load my class, even though I did it just like my other ASM classes that work just fine.
  5. Thank you! That is exactly what I was looking for! I didn't realize that TickHandler fired in GUIs!
  6. Would it work if I made a BaseMod class and used the old modloader onTickInGUI method? Or would having a basemod and an @Mod for the same mod clash?
  7. I looked a bit through the javadocs, but I don't know what classes the hooks are stored in besides ForgeHooks and ForgeHooksClient, and neither has what I want. I am mostly new to forge but I have used it before. I have never had to change a vanilla GUI before...
  8. I know this is for forge, and that's why I was asking! I am trying to update an old ModLoader mod to forge, and I could not find a forge way to add the button to the GUI. If you know a way (without using ModLoader and preferably without ASM), then please tell me!
  9. I am trying to add a button to the options GUI, but I can't find any forge way to make it work! I tried to make a normal ModLoader mod to use the onTickInGUI funstion, but it never triggered. I know how to do this using ASM, but I would like to avoid that if possible. Is there a way to do this? EDIT: To clarify, I am not trying to make a modloader mod. I have a modloader mod that works, but I would like to port it to a forge mod.
  10. Where would I find those (I don't use eclipse, so sorry if its obvious)? EDIT: Nevermind, I found it. Finally I can update my mods!
  11. That is very good to know! With just that I can probably convert my last JAR mod away from having to mod anything if I do it right!
  12. Wait there is a vanilla way to avoid editing base classes in 1.6? When did this happen!?
  13. As of build 789 it now works fine! EDIT: NVM, start client works, but intellij spits this out:
×
×
  • Create New...

Important Information

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