Jump to content

TLHPoE

Members
  • Posts

    638
  • Joined

  • Last visited

Everything posted by TLHPoE

  1. Also, what's this? if(Minecraft.getMinecraft().inGameHasFocus){ Minecraft.getMinecraft().thePlayer.openGui(mod_LegendaryUtilities.instance, 0, Minecraft.getMinecraft().theWorld, 0, 0, 0); }
  2. Ok, I just made my KeyHandler. I'll just set a boolean to toggle when the key is down and up.
  3. Sorry if I keep bothering you, but is there a iskeyPress method? There's only a isKeyDown method in Keyboard.
  4. Small little question, do you happen to know where the Minecraft stores it's key bindings? I'm trying to get what key is used in the binding for the inventory.
  5. Oh. I see now. Thanks
  6. Nah, I'll just stick with a TickHandler. I think I'll need it later in a little bit. And what do you mean by my TickHandler is not returning null in "public EnumSet<TickType> ticks()"?
  7. Is there an easier way to detect a key press? Packet Handlers and all those seem like a lot of work just to detect when a key is pressed.
  8. I just made a TickHandler and registered it. Not sure if detecting a key press is supposed to be placed inside a TickHandler, hopefully it's the right way. My TickHandler: My problem is that it never prints anything.
  9. Is there an event that is called whenever the player starts walking? Like in any sort of direction would be fine.
  10. How would I go about creating a random event? As in like every 2 or 4 minutes, there's a chance that an event occurs.
  11. Renaming it to item.woodPaxel doesn't do anything :I
  12. I already tried renaming it to item.woodPaxel. I have no clue what to do, do I need items/item/woodPaxel?
  13. I have this in my error log 2013-07-25 11:52:27 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: deathman12e3:textures/items/item.woodPaxel.png Here's a little folder tree src >minecraft >>deathman12e3 >>>textures >>>>items >>>>>woodPaxel.png
  14. Would this work too? @Override public void registerIcons(IconRegister reg) { this.itemIcon = reg.registerIcon("deathman12e3." + this.getUnlocalizedName() + ".png"); }
  15. I'm using 1.6.2 Forge, and I was wondering where I put my textures and what method I place into my Item class for the texture.
  16. Ok, I'm trying to add like a DLC sort of thing. Where if you have the class, then it'll initialize it. But if you don't have it, it'll ignore it.
  17. I put this into my preInit try { Class c = Class.forName("com.deathman12e3.paxels.DefaultPaxels.class"); } catch(Exception e) { PaxelData.defaultPaxels = false; } And this into my init if(PaxelData.defaultPaxels == true) { System.out.println("HIIIIIIIIIIIIIIIIII"); }
  18. @hydro How would I put that into an if statement?
  19. I'm trying to have my mod check for files. So far it prints nothing (the init() method in DefaultPaxels prints HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII) Placed this into my init: File defaultPaxels = new File("com.deathman12e3.paxels.DefaultPaxels"); if(defaultPaxels.exists()) { DefaultPaxels.init(); } Here's a file tree: src >com >>deathman12e3 >>>mod_LegendaryPaxels >>>ClientProxy >>>CommonProxy >>paxels >>>DefaultPaxels
  20. Bump. :I
  21. How would I make that delay for 1 second? I don't really understand the if() you put in.
  22. How would I delay it though?
  23. That's what I'm trying to do. I want it to have a cool down. So it adds the potion effect for 1 second, then it waits 1 second and adds it again.
  24. http://www.youtube.com/watch?v=iLGo5AiofKQ&feature=youtu.be
  25. Still flickers.
×
×
  • Create New...

Important Information

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