Hey Robbie, I can't seem to get the dyes to work in crafting recipes. The way I have set it up (ex Item.dyePowder, 1, 5) should work, and has worked in previous versions of minecraft, but now they've changed something and I can't find out how to make them :/
Fixed, you just have to say, instead of just "Item.dyePowder, 1, 5", you say "new ItemStack(Item.dyePowder, 1, 5)". But I ran into an error I have never come across before... what does it mean? Does it have to do with me having too many items? If it does, how do I make the item cap larger?
Mods loaded: 4
ModLoader 1.0.0
net.minecraft.src.mod_HaloPieceFour null
net.minecraft.src.mod_HaloPieceOne null
net.minecraft.src.mod_HaloPieceThree null
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT d65c388 --------
Generated 12/11/11 9:31 PM
Minecraft: Minecraft 1.0.0
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_29, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: AMD Radeon(TM) HD 6480G version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
java.lang.Exception: No more empty item sprite indices left!
at net.minecraft.src.ModLoader.getUniqueItemSpriteIndex(ModLoader.java:563)
at net.minecraft.src.ModLoader.getUniqueSpriteIndex(ModLoader.java:573)
at net.minecraft.src.ModLoader.addOverride(ModLoader.java:330)
at net.minecraft.src.mod_HaloPieceTwo.<init>(mod_HaloPieceTwo.java:203)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:265)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1214)
at net.minecraft.src.ModLoader.init(ModLoader.java:733)
at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:162)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:104)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:42)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:314)
at net.minecraft.client.Minecraft.run(Minecraft.java:613)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT e1f78950 ----------
I think your item needs to become a container item. Look into Item.java and find where the buckets are declared.
EDIT: WAIT. Okay, no. The item you make with your creation catalyst, needs to have your creation catalyst set as its container item.
So... Notice:
bucketEmpty = (new ItemBucket(69, 0)).setIconCoord(10, 4).setItemName("bucket");
bucketWater = (new ItemBucket(70, Block.waterMoving.blockID)).setIconCoord(11, 4).setItemName("bucketWater").setContainerItem(bucketEmpty);
bucketLava = (new ItemBucket(71, Block.lavaMoving.blockID)).setIconCoord(12, 4).setItemName("bucketLava").setContainerItem(bucketEmpty);
See how it says ".setContainerItem(bucketEmpy)" Add that to the end of your item.
The onFoodEaten method, or whatever it's called that robbie was talking about, was because you could drink the milk from the bucket, and you get the bucket back (I believe), because also in the OnFoodEaten, there's more code, which I looked into, and it took me to things about potion effects, so I'm guessing that's all that was about.
Hey Robbie, I can't seem to get the dyes to work in crafting recipes. The way I have set it up (ex Item.dyePowder, 1, 5) should work, and has worked in previous versions of minecraft, but now they've changed something and I can't find out how to make them :/
Fixed, you just have to say, instead of just "Item.dyePowder, 1, 5", you say "new ItemStack(Item.dyePowder, 1, 5)". But I ran into an error I have never come across before... what does it mean? Does it have to do with me having too many items? If it does, how do I make the item cap larger?
Mods loaded: 4
ModLoader 1.0.0
net.minecraft.src.mod_HaloPieceFour null
net.minecraft.src.mod_HaloPieceOne null
net.minecraft.src.mod_HaloPieceThree null
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT d65c388 --------
Generated 12/11/11 9:31 PM
Minecraft: Minecraft 1.0.0
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_29, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: AMD Radeon(TM) HD 6480G version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
java.lang.Exception: No more empty item sprite indices left!
at net.minecraft.src.ModLoader.getUniqueItemSpriteIndex(ModLoader.java:563)
at net.minecraft.src.ModLoader.getUniqueSpriteIndex(ModLoader.java:573)
at net.minecraft.src.ModLoader.addOverride(ModLoader.java:330)
at net.minecraft.src.mod_HaloPieceTwo.<init>(mod_HaloPieceTwo.java:203)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:265)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1214)
at net.minecraft.src.ModLoader.init(ModLoader.java:733)
at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:162)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:104)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:42)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:314)
at net.minecraft.client.Minecraft.run(Minecraft.java:613)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT e1f78950 ----------
There's only so many item sprites (pictures for items and blocks) that can be used in minecraft, there's a limit of 200 (I believe). An API like Forge gives you infinite item IDs, however, but your mod has to utilize that and anyone downloading your mod would need Forge as well.
I think your item needs to become a container item. Look into Item.java and find where the buckets are declared.
EDIT: WAIT. Okay, no. The item you make with your creation catalyst, needs to have your creation catalyst set as its container item.
So... Notice:
bucketEmpty = (new ItemBucket(69, 0)).setIconCoord(10, 4).setItemName("bucket");
bucketWater = (new ItemBucket(70, Block.waterMoving.blockID)).setIconCoord(11, 4).setItemName("bucketWater").setContainerItem(bucketEmpty);
bucketLava = (new ItemBucket(71, Block.lavaMoving.blockID)).setIconCoord(12, 4).setItemName("bucketLava").setContainerItem(bucketEmpty);
See how it says ".setContainerItem(bucketEmpy)" Add that to the end of your item.
The onFoodEaten method, or whatever it's called that robbie was talking about, was because you could drink the milk from the bucket, and you get the bucket back (I believe), because also in the OnFoodEaten, there's more code, which I looked into, and it took me to things about potion effects, so I'm guessing that's all that was about.
Tried that, but it didn't work? This is tough... I might ask the guy who created EE. Any help would still be massively appreciated!
Tried that, but it didn't work? This is tough... I might ask the guy who created EE. Any help would still be massively appreciated!
I'll look into catalysts tonight, that'll probably be my tutorial. The whole point of these tutorials is to show you that anything you need modded you can find inside of the original files, you just have to play around with it.
Thank you very much Valcain for answering questions :biggrin.gif: that's pretty much why I made this topic so I could maybe get some help answering questions that other people might have solved :biggrin.gif: Thanks Again!
I'll look into catalysts tonight, that'll probably be my tutorial. The whole point of these tutorials is to show you that anything you need modded you can find inside of the original files, you just have to play around with it.
Thank you very much Valcain for answering questions :biggrin.gif: that's pretty much why I made this topic so I could maybe get some help answering questions that other people might have solved :biggrin.gif: Thanks Again!
There's only so many item sprites (pictures for items and blocks) that can be used in minecraft, there's a limit of 200 (I believe). An API like Forge gives you infinite item IDs, however, but your mod has to utilize that and anyone downloading your mod would need Forge as well.
I cannot find any tutorials explaining on how to get Forge to work and let me use as many items as I want, so I'm really confused :/ anyone care to help?
I cannot find any tutorials explaining on how to get Forge to work and let me use as many items as I want, so I'm really confused :/ anyone care to help?
I haven't found any either. It really upsets me =\
My lastest mod uses like 12 items alone, which isn't much compared to some others, but still, if I could use forge. Mucho me gusta.
It was upwards to like.. 17, but I made some cuts on items, which were only filler to make other items and make the crafting more expensive, but ah well, I found a way around it, though Forge would still be great to have.
I'm geting a very wird problem with the one about custom tool tiers. All my tools have the lether cap as there symbol
Someone messed up with .setItemName() I'm guessing... Or something along those line. Post your code. I had this same thing happen to me and I realized it was a copy and paste error when I was making my public static final Item blahblahblah
<code>
public static final Block Greenium = new BlockGreenium (180,0).setHardness(1F).setLightValue(0.5F).setBlockName("Greenium Ore");
public static final Item greeniumXbow = new ItemGreeniumXbow(501).setItemName("Greenium crossbow");
public static final Item greeniumingot = new ItemGreeniumingot(500).setItemName("Greeniumingot");
public static final Item greeniumpicaxe = new ItemPickaxe (602, EnumToolMaterial.GREENIUM) .setItemName("Who gives a ****");
public static final Item greeniumaxe = new ItemAxe (603, EnumToolMaterial.GREENIUM) .setItemName("Who gives a ****!");
public static final Item greeniumspade = new ItemSpade (604, EnumToolMaterial.GREENIUM) .setItemName("Who gives a ****!!");
public static final Item greeniumsword = new ItemSword (605, EnumToolMaterial.GREENIUM) .setItemName("Who gives a ****!!!");
public static final Item greeniumhoe = new ItemHoe (606, EnumToolMaterial.GREENIUM) .setItemName("Who gives a ****!!!!!");
Hey X2robbie2X, not meaning to sound impatient or anything but have you figured out nether generation yet? sorry if i make seem as tthough im rushing you, im not!
Hey X2robbie2X, not meaning to sound impatient or anything but have you figured out nether generation yet? sorry if i make seem as tthough im rushing you, im not!
Thanks!!!!!
Yeah I've seen your question all the times that you asked, it's just not my top priority as I'm trying to do things that'll help the most amount of people, and not many people are trying to generate in the nether. Have you tried playing around with the GenerateNether method?
Have you tried looking inside of ItemBucketEmpty.java? It's probably some attribute in there that you need to copy.
Yeah, theres nothing there...
Hey Robbie, I can't seem to get the dyes to work in crafting recipes. The way I have set it up (ex Item.dyePowder, 1, 5) should work, and has worked in previous versions of minecraft, but now they've changed something and I can't find out how to make them :/Fixed, you just have to say, instead of just "Item.dyePowder, 1, 5", you say "new ItemStack(Item.dyePowder, 1, 5)". But I ran into an error I have never come across before... what does it mean? Does it have to do with me having too many items? If it does, how do I make the item cap larger?
Coming Soon...
I think your item needs to become a container item. Look into Item.java and find where the buckets are declared.
EDIT: WAIT. Okay, no. The item you make with your creation catalyst, needs to have your creation catalyst set as its container item.
So... Notice:
See how it says ".setContainerItem(bucketEmpy)" Add that to the end of your item.
The onFoodEaten method, or whatever it's called that robbie was talking about, was because you could drink the milk from the bucket, and you get the bucket back (I believe), because also in the OnFoodEaten, there's more code, which I looked into, and it took me to things about potion effects, so I'm guessing that's all that was about.
There's only so many item sprites (pictures for items and blocks) that can be used in minecraft, there's a limit of 200 (I believe). An API like Forge gives you infinite item IDs, however, but your mod has to utilize that and anyone downloading your mod would need Forge as well.
Tried that, but it didn't work? This is tough... I might ask the guy who created EE. Any help would still be massively appreciated!
I'll look into catalysts tonight, that'll probably be my tutorial. The whole point of these tutorials is to show you that anything you need modded you can find inside of the original files, you just have to play around with it.
Thank you very much Valcain for answering questions :biggrin.gif: that's pretty much why I made this topic so I could maybe get some help answering questions that other people might have solved :biggrin.gif: Thanks Again!
Try making it extend ItemBucket? Rather than just Item
Of course! :biggrin.gif:
Tutorial on Catalysts just uploaded :biggrin.gif: Have fun.
I cannot find any tutorials explaining on how to get Forge to work and let me use as many items as I want, so I'm really confused :/ anyone care to help?
Coming Soon...
I haven't found any either. It really upsets me =\
My lastest mod uses like 12 items alone, which isn't much compared to some others, but still, if I could use forge. Mucho me gusta.
It was upwards to like.. 17, but I made some cuts on items, which were only filler to make other items and make the crafting more expensive, but ah well, I found a way around it, though Forge would still be great to have.
Thank you so much man!!!!! That helped SO much!!!!!
Also did you figure anything out on nether gen? And the item right click mob spawning?
Thanks again!!!!!!!!!!!!!!!!!
I've heard this error many times and I don't remember the fix :/ but like I said many people have this error so maybe someone else can help out?
Someone messed up with .setItemName() I'm guessing... Or something along those line. Post your code. I had this same thing happen to me and I realized it was a copy and paste error when I was making my public static final Item blahblahblah
fixed it
All your tools look like this:
the problem is in the line were it says greeniumXbow.iconIndex, you need to switch the greeniumXbow.iconIndex to greeniumhoe.iconIndex
Hope that helps!!!!!
Thanks!!!!!
Yeah I've seen your question all the times that you asked, it's just not my top priority as I'm trying to do things that'll help the most amount of people, and not many people are trying to generate in the nether. Have you tried playing around with the GenerateNether method?