
WolfAmaril
Members-
Posts
56 -
Joined
-
Last visited
Everything posted by WolfAmaril
-
Will go talk to Azanor. As for download, I tried to use pastebin, it overflowed and wouldn't let me post it.
-
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.
-
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
Ah, yeah, I see how that could be a big problem. Already renamed it to ColoredFlameEventHandler. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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). -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
I'm assuimng I'm going to want to use @Subscribe or @SubscribeEvent for that one, yes? -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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? -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
Also, if I wanted somebody to just give me the solution, I'd ask for it, instead of a nudge in the right direction. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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 -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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. -
Custom fire block won't burn entities, works fine on blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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? -
Trying to figure out non oreDictionary recipies
WolfAmaril replied to WolfAmaril's topic in Modder Support
Oh, yeah, that could be a problem. Fixed it, thanks -
Trying to figure out non oreDictionary recipies
WolfAmaril replied to WolfAmaril's topic in Modder Support
Ah, gotcha. This is where the whole "first time modder" bit really sucks. and it still doesn't work. recipie is now -
Trying to figure out non oreDictionary recipies
WolfAmaril replied to WolfAmaril's topic in Modder Support
You sure about that? and, more specifically, no quotes on what part? -
Trying to figure out non oreDictionary recipies
WolfAmaril replied to WolfAmaril's topic in Modder Support
And it still breaks. I'm not missing something with how I'm using the dyes, am I? -
Trying to figure out non oreDictionary recipies
WolfAmaril replied to WolfAmaril's topic in Modder Support
Ah, thanks. I'm just starting modding, so I didn't know how to call non oreDic items in any recipie. -
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
-
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?
-
Easiest way to cycle thronugh 16 different blocks.
WolfAmaril replied to WolfAmaril's topic in Modder Support
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.