Jump to content

WolfAmaril

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by WolfAmaril

  1. Will go talk to Azanor. As for download, I tried to use pastebin, it overflowed and wouldn't let me post it.
  2. Forge and minecraft load up find, but when I try to load a world, or make a new world, it just resets me back to the main menu. https://www.dropbox.com/s/pro6cnwyd9n9u63/fml-client-latest.log?dl=0 <--Full client log can be found here. There is no related crash log.
  3. Ah, yeah, I see how that could be a big problem. Already renamed it to ColoredFlameEventHandler.
  4. IT WORKS IT WORKS THANK YOU IT WORKS! I'd registered FireColoredBase to try and make instanceof works, but turns out that was wrong, so now it's not registered, so that's fixed. Will probably just give my fire block a normal full block bounding box to make it easier to click and not have to add lots of code. That shouldn't make it solid form what I've seen. What part of the naming convention did I screw up? My Java prof taught about 4 different naming conventions (none of which I'm actually convinced are the right one).
  5. Event Handler is here: https://github.com/WolfAmaril/ColoredFlame/blob/master/src/main/java/com/wolfamaril/coloredflame/handler/EventHandler.java Registration is during Init here: https://github.com/WolfAmaril/ColoredFlame/blob/master/src/main/java/com/wolfamaril/coloredflame/ColoredFlames.java And given that it just took me four tries to make git push to Github, I'm gonna go sleep.
  6. Just spent a few hours trying to get this to work and, while I understand the theory behind it, I can't seem to get the Subscribe event so work right, and my EventHandler class is just kinda meh.
  7. After some research, experimenting, and playing around with mods that are made by people vastly more skilled in Java than I, I have determined one thing. This is probably one of the hardest things to attempt to do with a mod. That is to say, make a custom fire block that goes out when hit. Also, I am tired, it's the start of (my) weekend, so I'm just gonna sleep on it for a bit.
  8. I'm assuimng I'm going to want to use @Subscribe or @SubscribeEvent for that one, yes?
  9. Ok, pretty sure I almost got it, but I the problem is performing a correct override breaks the extinguishFire method, which requires the int blockDirection, and adding the int blockDirection to my onBlockClicked deceleration breaks the override. Where would I start fixing this? Wait, no, I think I have an idea. Is there a forge hook to get the direction a block was clicked from?
  10. Also, if I wanted somebody to just give me the solution, I'd ask for it, instead of a nudge in the right direction.
  11. and three seconds after you point out the problem, I have it fixed by changing "this" to "world". Which I had been trying for the last hour and a half with the wrong capitalization. Now I just need to figure out why my onBlockClicked isn't being called.
  12. Congratulations, you just figured out the reason I'm writing basic mods for minecraft. The answer: Cause the Java classes available to me are next to useless. So either help, or stop filling up this thread and let somebody who's willing to help do it. Also, I'd already figured out the part about needing an instance of world, and getting it from the onBlockClicked method. I just don't know how to put it into my extinguishFire method. Here's the code https://github.com/WolfAmaril/ColoredFlame/blob/master/src/main/java/com/wolfamaril/coloredflame/block/BlockFireColoredBase.java
  13. I know enough java to know what it means, not enough to know how to fix it. How about a little less snarky judgement, and a little more help.
  14. OK, so I copied the code over, changed the relevant parts, and now I'm getting 4 more "non-static method cannot be referenced from a static context" errors.
  15. So I poked around, got a few errors, and now have this However, I'm now getting "non-static method cannot be referenced from a static context" So how do I fix that, as nowhere in the class I'm working on does it call anything static.
  16. OK, that fixed half my problems. Only problem left is the stupid thing doesn't go out when punched, you need to break the block that's on fire to extinguish it. Any ideas, or am I just missing the code to give it a proper bounding box?
  17. I even tried copying the entirety of the code form Block.Fire into my custom fire block, and that didn't work. any ideas?
  18. Oh, yeah, that could be a problem. Fixed it, thanks
  19. Ah, gotcha. This is where the whole "first time modder" bit really sucks. and it still doesn't work. recipie is now
  20. You sure about that? and, more specifically, no quotes on what part?
  21. And it still breaks. I'm not missing something with how I'm using the dyes, am I?
  22. Ah, thanks. I'm just starting modding, so I didn't know how to call non oreDic items in any recipie.
  23. I'm trying to use flint as part of a recipie, but I can't find the documentation on how to use an item not in the ore dictionary. The current recipie I have is as follows
  24. I already have the onItemUse function working for a different bit of code, but I want it to run something different if used while crouching and the item it's targeting a block. How would I do that?
  25. For those of you wondering. This was the answer I was looking for. I was trying to set the array values outside the constructor. When I set the array values inside the constructor, it works.
×
×
  • Create New...

Important Information

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