Jump to content

The_Fireplace

Forge Modder
  • Posts

    243
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by The_Fireplace

  1. How would I add a localization when they are being added to the creative tab? Also, just a thought here, could it be that the localization needs to be for the itemblock rather than the block itself?
  2. When viewed in-game, they show as 'tile.MultiBlock_UN.name'. Here is the code for my Block: And the code for my ItemBlock: And the code for registering the names in the Language Registry:
  3. When the tool is placed in the crafting grid with the other item in the recipe, it disappears with the other item, instead of taking 1 damage. Here's my code: And the code for the recipe:
  4. Ok, used coolAlias's suggestion, now it is giving me the error: "The method getSubItems(int, CreativeTabs, List) of type Component must override or implement a supertype method" UPDATE: The fix was to change par1 from and int to an Item.
  5. Sorry I don't have an answer, but first of all, will you put the log in a spoiler? Second, I am having the exact same issue.(Not going to steal this thread, I only meant that the L before the class was what mine was doing)
  6. I'm not yet, I was hoping someone else could say how. I know, not the initial problem, but still.
  7. My item, which is multiple items in one ID, doesn't show all of the other items in the creative tab. I am updating from 1.6.4. Also, I am able to craft the items in-game, so I know they are registering. Here is my code: Let me know if anything is missing and I will add it to the post.
  8. It is supposed to be dropping Quartz Seeds and a Quartz Block. Instead, it drops Wheat and Seeds. Also, if anyone knows how, I would like to set the percentage of the time each thing drops. I am updating from 1.6.4. Here is my code: And the Mod Base: If any code you need to see is missing, tell me and I'll add it.
  9. My mod works fine when run in the workspace, however, if I do gradlew.bat build, and use the compiled mod, it crashes, giving me the following report: And here is my code:
  10. Ok, although I still don't know how to make it work against Obsidian.
  11. This might seem stupid, but what do I make it return if I want it to mine Obsidian in 0.5 seconds(10 ticks) I know it goes like public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block){ return ????; } The question marks are what I don't know. I think it's a number, like 2.0F
  12. I would like to know how to make an Item break a block(obsidian us the one I'm going to make it break) with a much faster harvest speed than normal. I can't extend any classes to do it, my Item already extends something else. Any ideas?
  13. Neither of those suggestions fixed it, and I'll edit in the FireArmorBaseFile in a sec. EDIT: Ok, the base file is there now.
  14. That section of code that I narrowed it down to is failing to activate, so the Potion Effects aren't being applied to the player while the armor is worn, which is the goal. That's why I asked, is to see if anyone could figure out why it isn't activating.
  15. That is exactly how I narrowed it down.
  16. UPDATE: I have narrowed it down to the following section of code:
  17. When I equip the armor, it doesn't apply potion effects. I know it is probably being caused by something simple, but I can't figure out what. Here's my code: Armor File: Base File: Let me know if I left anything out of the post, and I will edit it in.
  18. I would like to know if it is possible to activate code for a specific player. I know it will have to be an 'if...then' statement, although I don't know exactly how to make it check the player's name. Anyone know how?
  19. My game crashes with the following error only if my chestplate isn't worn while the other 3 pieces of the armor set are: And here is the class for that set of armor: What do I need to add/change to fix it? Let me know if I left anything out of the post, I will edit it in.
  20. Read this: http://www.minecraftforge.net/forum/index.php/topic,10996.msg56337.html#msg56337
×
×
  • Create New...

Important Information

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