Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WolfAmaril

Members
  • Joined

  • Last visited

Everything posted by WolfAmaril

  1. 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.
  2. 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.
  3. 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?
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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?
  9. 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.
  10. sunnofa.... The question now it, why was that working in my dev environment??
  11. 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.
  12. 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
  13. 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?
  14. 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?
  15. oh right, forgot to push the commit. It should be there now
  16. 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?
  17. Thank you. This is an example of some actually helpful feedback.
  18. 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.
  19. 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?
  20. 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.
  21. 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
  22. 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?
  23. 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.
  24. 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?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.