Ohh, and one more thing!
(Really hate to bother you)
But im trying to code it so when I place my irradiated apple in the crafting table, it not only gives me 2 Uranium Powder as a result of the craft, but also converts the irradiated apple into a normal in-game apple, Abit like how crafting cake with 3 buckets of milk doesent destroy the buckets afterwards.
That sounds interesting, I'll look into it, and get back to you if I find it. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
I looked pretty much everywhere.
This should be coded in the ItemBucket.java.
But I couldn't find it in there.
So, I checked the recipe of the cake, but it was the same as any other, no modifications.
Maybe you could find something in the ItemBucket.java:
It is probably coded somewhere else, or I'm blind. :ohmy.gif: Lol.
I am going to try to make a recipe including a bucket of milk, and see if it keeps the bucket.
If it does, it should be coded in the ItemBucket.java or somewhere like that.
If it doesn't it's something with the cake recipe.
EDIT:
Yes, the bucket is kept, I will look harder. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Well I did have this code which i implemented into mod_UraniumCraft;
For the crafting recipe, because I couldent really put it elsewhere;
ModLoader.AddRecipe(new ItemStack(mod_UraniumCraft.UraniumPowder, 2), new Object[] {"X", Character.valueOf('X'), mod_UraniumCraft.UApple}) return Item.apple);
But of course it doesent work, infact here is the error, only [2]
thats not a valid way to use the return command, I dont belive having two items given is possible when there is only one spot on the crafting table. How ever if its a block you could make it drop more than one. I belive adding mod_name before what you want it to drop should work
thats not a valid way to use the return command, I dont belive having two items given is possible when there is only one spot on the crafting table. How ever if its a block you could make it drop more than one. I belive adding mod_name before what you want it to drop should work
You should read the whole conversation before posting, or maybe you did, but didn't understand it.
He wants it to be like crafting cake. You craft it with the 3 buckets of milk, and when you take the cake, the 3 buckets of milk turn into empty buckets.
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
I have edited "In-Depth Drops", and added "Damage Value Drops", and "Different Quantity Drops". :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
You should read the whole conversation before posting, or maybe you did, but didn't understand it.
He wants it to be like crafting cake. You craft it with the 3 buckets of milk, and when you take the cake, the 3 buckets of milk turn into empty buckets.
hmm i understand it better looking back at it but im still not sure you can. I think ill take a look at it and see if i can figure it out
is the part that gives you a milk bucket when you use it on a cow. Im not sure how this can be changed to hive you back the item, also i had a hard time trying to find the code that gives back a bucket when you use it to make cake as it isnt in the cake recipe from what i see.
also i had a hard time trying to find the code that gives back a bucket when you use it to make cake as it isnt in the cake recipe from what i see.
Yeah, I figured that out, if you make a recipe including a bucket of milk, it will automatically give the bucket back. So this has to be coded in the "ItemBucket.java". It doesn't have to do with the cake recipe.
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Yeah if that is the case I'd probably have to make an ItemIrradiatedApple, and copy most of the code out of ItemBucket that matters and has nothing to do with water, lava and milk Obviously and hope that works.
Or just manually find the code.
Yeah, try that, and post your result. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Hi,
Im Using all of the code from you example and I created 16*16 pixel png files to go in the /ObsidianCraft/ folder,
i Get this error when trying to start minecraft
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 f98e3e7 --------
Generated 8/2/11 4:15 PM
Minecraft: Minecraft Beta 1.7.3
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics version 2.1.0 - Build 8.15.10.2302, Intel
java.lang.RuntimeException: java.lang.Exception: Image not found: /ObsidianCraft/RedObsidian.png
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1161)
at net.minecraft.src.ModLoader.OnTick(ModLoader.java:882)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:24)
at net.minecraft.client.Minecraft.run(Minecraft.java:514)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /ObsidianCraft/RedObsidian.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:846)
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1153)
... 4 more
--- END ERROR REPORT 9489e0e2 ----------
Hi,
Im Using all of the code from you example and I created 16*16 pixel png files to go in the /ObsidianCraft/ folder,
i Get this error when trying to start minecraft
If You Could Help, That would be awesome!
Where did you put the folder "ObsidianCraft"?
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
i put it in my minecraft JAR, Should it go in the Bin folder?
No, it should be in the "minecrat.jar".
Did you re-obfuscate, or are you testing within MCP?
Also, post your "mod_ObsidianCraft.java" here.
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
No, it should be in the "minecrat.jar".
Did you re-obfuscate, or are you testing within MCP?
Also, post your "mod_ObsidianCraft.java" here.
both :unsure.gif:
package net.minecraft.src;
public class mod_ObsidianCraft extends BaseMod
{
public static final Block redObsidian = new BlockRedObsidian(150, 0).setBlockName("redObsidian").setHardness(10F).setResistance(2000F);
public static final Item redGem = new Item(8300).setItemName("redGem");
Well, if you ran the "startclient.bat", then your folder with the texture, should go to, MCP -> jars -> bin -> minecraft.jar
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Then why did you say "Thanks" before trying it. :/
Just re-obfuscate, and get the class files from the MCP -> reobf -> minecraft.
Then put those class files into your minecraft.jar, like a regular mod, and also put the folder with the texture in there.
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
That sounds interesting, I'll look into it, and get back to you if I find it. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
I looked pretty much everywhere.
This should be coded in the ItemBucket.java.
But I couldn't find it in there.
So, I checked the recipe of the cake, but it was the same as any other, no modifications.
Maybe you could find something in the ItemBucket.java:
I am going to try to make a recipe including a bucket of milk, and see if it keeps the bucket.
If it does, it should be coded in the ItemBucket.java or somewhere like that.
If it doesn't it's something with the cake recipe.
EDIT:
Yes, the bucket is kept, I will look harder. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
thats not a valid way to use the return command, I dont belive having two items given is possible when there is only one spot on the crafting table. How ever if its a block you could make it drop more than one. I belive adding mod_name before what you want it to drop should work
I shall send Crawlers after you!
You should read the whole conversation before posting, or maybe you did, but didn't understand it.
He wants it to be like crafting cake. You craft it with the 3 buckets of milk, and when you take the cake, the 3 buckets of milk turn into empty buckets.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
hmm i understand it better looking back at it but im still not sure you can. I think ill take a look at it and see if i can figure it out
is the part that gives you a milk bucket when you use it on a cow. Im not sure how this can be changed to hive you back the item, also i had a hard time trying to find the code that gives back a bucket when you use it to make cake as it isnt in the cake recipe from what i see.
I shall send Crawlers after you!
Yeah, I figured that out, if you make a recipe including a bucket of milk, it will automatically give the bucket back. So this has to be coded in the "ItemBucket.java". It doesn't have to do with the cake recipe.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Yeah, try that, and post your result. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Im Using all of the code from you example and I created 16*16 pixel png files to go in the /ObsidianCraft/ folder,
i Get this error when trying to start minecraft
If You Could Help, That would be awesome!
Where did you put the folder "ObsidianCraft"?
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
i put it in my minecraft JAR, Should it go in the Bin folder?
No, it should be in the "minecrat.jar".
Did you re-obfuscate, or are you testing within MCP?
Also, post your "mod_ObsidianCraft.java" here.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
both :unsure.gif:
Well, if you ran the "startclient.bat", then your folder with the texture, should go to, MCP -> jars -> bin -> minecraft.jar
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
DERP!
Thanks
No Problem! :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
still doesn't work..
same error
Then why did you say "Thanks" before trying it. :/
Just re-obfuscate, and get the class files from the MCP -> reobf -> minecraft.
Then put those class files into your minecraft.jar, like a regular mod, and also put the folder with the texture in there.
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.