Everything posted by WolfAmaril
-
Easiest way to cycle thronugh 16 different blocks.
Pretty sure I have, at least I assume so. I'm kind of new to Java, but not that new. The code is here https://github.com/WolfAmaril/ColoredFlame/blob/master/src/main/java/com/wolfamaril/coloredflame/item/ItemAdaptiveIgnitorHardened.java if you want to double check that I haven't missed something really obvious.
-
Easiest way to cycle thronugh 16 different blocks.
OK, so I've been doing it right the whole time. Every time I try to do that, the first line works fine, but then when I try to write to it in the next line IntelliJ thrown an Unknown Class error at me for both sides of the line.
-
Easiest way to cycle thronugh 16 different blocks.
I am literally asking for one line of code. for an int array I would write what do I write to get an array that holds 16 blocks?
-
Easiest way to cycle thronugh 16 different blocks.
OK, all of this stuff is really helpful, but nobody has answered my first question, so I'm just gonna put it here, again. How do I initialize and write to a block array? Because every time I try the common sense way I get every error known to mankind.
-
Easiest way to cycle thronugh 16 different blocks.
I already had all of this figured out. All I need to know is how to initialize and write to this blockArray because every time I try IntelliJ throws every error known to mankind at me.
-
Easiest way to cycle thronugh 16 different blocks.
Actually I'm just looking to cycle through one of my 16 custom fire blocks using a custom flint and steel. I've got most of the rest of the code figured out, I just can't figure out how to initializes an array of blocks.
-
Mod crashes when I try to place a custom fire block
Anyone know what function I have to call to make it so people can put out my custom fire blocks by left clicking on them? I've been looking through the BlockFire code but can't seem to find it.
-
Easiest way to cycle thronugh 16 different blocks.
I want an item that will place one of 16 blocks when used, and I'm trying to figure out the easiest way to cycle through said 16 blocks without 16 different if() statements. My current idea is a Block[], but I can't seem to get that to work. Any suggestions?
-
Mod crashes when I try to place a custom fire block
So basically becasue IntelliJ is less picky than Windows. I wonder if there's an IntelliJ addon that makes it as picky about caps as windows.
-
Mod crashes when I try to place a custom fire block
sunnofa.... The question now it, why was that working in my dev environment??
-
Mod crashes when I try to place a custom fire block
OK, the question is not how do I render a custom fire block, it's why is one of my 16 functional custom fire blocks losing half of it's texture when I run when the texture file is obviously there.
-
Mod crashes when I try to place a custom fire block
Gee, I'm so new to Minecraft that I didn't check the logs when something didn't work. </sarcasm> I did, it says it can't find a file that I'm looking at. here's the .jar for the mod and the log Mod: https://www.dropbox.com/s/d3ex20288vvoqxf/coloredflame-1.7.10-1.0.jar?dl=0 Log: https://www.dropbox.com/s/pro6cnwyd9n9u63/fml-client-latest.log?dl=0
-
Mod crashes when I try to place a custom fire block
OK, first off it's 31/32 working. on the other hand, I challenge anyone to explain why one block, and one block only, looks like THIS in my dev world and THIS when I run [gradlew build] and put the jar in a test instance in minecraft. I checked, the texture file and .mcmeta transferred over. how does half of one blocks' texture break when the mod is built?
-
Mod crashes when I try to place a custom fire block
And it works. Thanks!
-
Mod crashes when I try to place a custom fire block
It seems to be looking in the minecraft textures folder, instead of my mods textures folder. Any ideas on how to point it at the right folder?
-
Mod crashes when I try to place a custom fire block
oh right, forgot to push the commit. It should be there now
-
Mod crashes when I try to place a custom fire block
would you be refering to the this.setTextureName("fireBlack"); in BlockFireColoredBlack.java inside the com.wolfamaril.coloredflame.block package or should I be calling it somewhere else?
-
Mod crashes when I try to place a custom fire block
Thank you. This is an example of some actually helpful feedback.
-
Mod crashes when I try to place a custom fire block
Because you never tell it what texture to use. I got that part. One might assume that, since I'm still asking the question, I still haven't figured out how to tell it what texture to use. one might also assume that, since you haven't given a helpful answer, you don't know how to tell it what texture to use either.
-
Mod crashes when I try to place a custom fire block
Having done so, I still can't see why the textures aren't working (At this point I suspect it's something really simple that I can't see). The git repository I linked to in the OP contains the most recent version of my code, could someone who's not been working on it for 12 hours take a look and see if I'm missing something obvious?
-
Mod crashes when I try to place a custom fire block
I don't need the textures, or the .mcmeta files that go with them. If you'd looked at the git repository I'd posted you'd have seen that. I need to know how to use the IIcon array to map those textures to my custom blocks.
-
Mod crashes when I try to place a custom fire block
OK, no. Lemme explain myself clearly. I don't want to just make a resource pack. I have a Custom Fire Block that I need to map with a Custom Fire Texture
-
Mod crashes when I try to place a custom fire block
OK, I'm fairly new to modding, and this is my first time trying to use animated textures. Would you be able to explain how to use them, or point me at somewhere that explains it?
-
Mod crashes when I try to place a custom fire block
Already tried that. Fire maps textures differently because they're animated. I know that fire pulls its textures as an IIcon form a special array, I just don't know how or where to initialize that array, or what to write to it.
-
Mod crashes when I try to place a custom fire block
You missed the part where I don't know how to do that and am wondering if anyone could point me to somewhere that tells me how, didn't you?
IPS spam blocked by CleanTalk.