Everything posted by The_Fireplace
-
[1.6.4][UNSOLVED]Names not registering for multiple blocks in one ID
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?
-
[1.6.4][UNSOLVED]Names not registering for multiple blocks in one ID
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:
-
[1.6.4][SOLVED]Tool disappearing in crafting grid instead of taking damage
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:
-
[1.7.2]Multi-Item only showing one in creative tab
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.
-
[1.7.2][SOLVED]Custom crop drops wheat seeds and wheat(Not what I want it to)
There, clarified the post.
-
[SOLVED]1.7.2 Class not found crash
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)
-
[1.7.2][SOLVED]Custom crop drops wheat seeds and wheat(Not what I want it to)
I'm not yet, I was hoping someone else could say how. I know, not the initial problem, but still.
-
[1.7.2]Multi-Item only showing one in creative tab
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.
-
[1.7.2][SOLVED]Custom crop drops wheat seeds and wheat(Not what I want it to)
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.
-
[1.7.2]NoSuchMethodError, only happens after building
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:
-
[1.6.4][SOLVED]How to make an Item effective only against a certain block
Ok, although I still don't know how to make it work against Obsidian.
-
[1.6.4][SOLVED]How to make an Item effective only against a certain block
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
-
[1.6.4][SOLVED]How to make an Item effective only against a certain block
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?
-
[1.6.4][SOLVED]Armor not giving player wearing it potion effects
Neither of those suggestions fixed it, and I'll edit in the FireArmorBaseFile in a sec. EDIT: Ok, the base file is there now.
-
[1.6.4][SOLVED]Armor not giving player wearing it potion effects
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.
-
[1.6.4][SOLVED]Armor not giving player wearing it potion effects
That is exactly how I narrowed it down.
-
[1.6.4][SOLVED]Armor not giving player wearing it potion effects
UPDATE: I have narrowed it down to the following section of code:
-
[1.6.4][SOLVED]Armor not giving player wearing it potion effects
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.
-
[1.6.4][SOLVED]Is it possible to activate code only for a specific player?
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?
-
[SOLVED][1.6.4]Game Crash if Chestplate not equipped while other 3 pieces are
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.
-
Recompilation errors
Read this: http://www.minecraftforge.net/forum/index.php/topic,10996.msg56337.html#msg56337
IPS spam blocked by CleanTalk.