Jump to content

WolfAmaril

Members
  • Posts

    56
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

WolfAmaril's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  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.
×
×
  • Create New...

Important Information

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