/Users/*****/Desktop/Folder/CodeStuffUpdated/build/sources/main/java/theMod/items/ItemMultiTool.java:5:
error: package com.sun.xml.internal.bind.v2.schemagen.xmlschema does
not exist[/p
Your error is there. Check line 5 of your ItemMultiTool.java
After further investigation, your suggestion was the actual FIX. When I compiled the file to export to Minecraft, my build.gradle was not over-writing the old classes in the build folders, only the bin folders. Thank you very, very, very much for your help.
I had a thought. Should, where the texture files are located (i.e. src/resources/assets.madhatmodding.textures.gui), be a Package or, Source Folder? Would that make a difference? I think its a package at the moment.
I know I'm a little late but, I am having this same issue. I've done all the fixes on this post and still no Joy. Can you paste your fix so, I may see it?
as the Description states, when I open my Furnace, the background texture has the Black and Pink squares of "Texture death" (Picture Provided). The Container name, all the slots, inventory name all work. I'm not seeing the Texture of the slots, progress scale, and remaining scale.
Since you're a new programmer, you should know that OR statements check all the conditions and return true if one (or more) succeed.
You're looking for something like this:
Not sure why you need to check the super, though...
You're right Sky, on both accounts.I am new and, I do know that OR statements check all the conditions and return true, or false if not met. I don't need to check the super, code works fine with out it, thank you. I just couldn't remember the "||", which is what I was trying to look for.
The parameters for getIsRepairable are the ItemStack to repair and the ItemStack that is being used to repair it. Just return true if that second ItemStack's item is a regular bow or your own bow or whatever.
I've tried that and, the error says "Incompatible operand types ItemStack and Item". How do I work around that?
I successfully created a custom Bow for my mod but, neglected to put in (or add) the ".getIsRepairable". When I do this though, how do I specify a regular bow will work?
public boolean getIsRepairable(ItemStack par1, ItemStack par2)
{
//Using Items.bow here as par2 throws an error
}
1
/Users/*****/Desktop/Folder/CodeStuffUpdated/build/sources/main/java/theMod/items/ItemMultiTool.java:5:
error: package com.sun.xml.internal.bind.v2.schemagen.xmlschema does
not exist[/p
Your error is there. Check line 5 of your ItemMultiTool.java
could be a wrong import, typo, anything.
0
In your resource Declaration here:
Try this instead, and see if it works
0
After further investigation, your suggestion was the actual FIX. When I compiled the file to export to Minecraft, my build.gradle was not over-writing the old classes in the build folders, only the bin folders. Thank you very, very, very much for your help.
0
I had a thought. Should, where the texture files are located (i.e. src/resources/assets.madhatmodding.textures.gui), be a Package or, Source Folder? Would that make a difference? I think its a package at the moment.
0
I know this is really late but, did you end up resolving this Issue? I am having the same problem myself.
0
I know I'm a little late but, I am having this same issue. I've done all the fixes on this post and still no Joy. Can you paste your fix so, I may see it?
0
Uh, nope but, THANKS for pointing that out. 'T'was a typo! LoL. Sorry. Thanks for trying to be helpful, though. I really do appreciate it.
0
That didn't fix it
0
Nope, but I will try it. thank you.
0
Hey all,
as the Description states, when I open my Furnace, the background texture has the Black and Pink squares of "Texture death" (Picture Provided). The Container name, all the slots, inventory name all work. I'm not seeing the Texture of the slots, progress scale, and remaining scale.
Here is the Code for my GuiContainer:
The Texture location for my Gui (in Eclipse) is: src/main/resources/assets.madhatmodding/textures/gui/IngotKilnGui.png
As a side note, all of this works well in Eclipse, just not after compiling and, using in modded Minecraft.
Any help would be appreciated. If you need anything else, let me know.
0
You're right Sky, on both accounts.I am new and, I do know that OR statements check all the conditions and return true, or false if not met. I don't need to check the super, code works fine with out it, thank you. I just couldn't remember the "||", which is what I was trying to look for.
0
First, thank you for helping a new programmer.
Here's what I have so far.....
this lets me use a Bow to repair but, I cant figure out the or part. I'd like to use either my bow, or the "Vanilla" Bow
0
I've created the new ItemStack referencing my bow. Now, how do I implement using my bow, or a regular bow, to repair my custom bow?
0
I've tried that and, the error says "Incompatible operand types ItemStack and Item". How do I work around that?
0
Greetings all,
I successfully created a custom Bow for my mod but, neglected to put in (or add) the ".getIsRepairable". When I do this though, how do I specify a regular bow will work?