The newest versions seemed to not work with 1.5.1. Yeah, it seems like 0.9.12d is for 1.5.1, because now I'm using CS2 with no problems ^.^ Thanks for the reply Flamarow.
@michael1973 - They aren't in the right location. This is the correct path:
Thanks, I did that, but now it says the property wasn't found (quartzBricks.js#1)
You need to add the block property before you add the block that uses it. It is preferable to have all addBlockIdProperty and addItemIdProperty lines be near the top of the file, or at least at the top of each section if you want to divide it up rather than adding everything at once.
I have created some custom doors. One of them can be destroyed normally, although particles of 'no texture' appear in the process of punching. Breaking the others crashes the game.
Help would be appreciated.
if you want help about minecraft crash or mod error.
you should give us the crash log and how do you use this mod.
Otherwise, we can't help you about anything.
So wish there was an mod.addISmelterRecipe for Thermal Expansion >_>
Of course I don't know the limits of this mod so...
It should work if the Thermal Expansion use the SmelterRecipe of vanilla mc.
cs2 add the recipe to the mc itself
so any mod that didn't use its special smell recipe should work
Rollback Post to RevisionRollBack
I hate anyone asking questions without trying to find answer by himself. It does not only waste our time,but also waste his.
That would be reasonable, but I believe someone may have encountered this problem before. Anyway, the crash log doesn't say anything meaningful - just that there are some problems with rendition.
Yet, the problem is fixed! It turned out that I accidentally changed stepSound to stupid values with 'Replace all' function in N++.
What is N++?
Rollback Post to RevisionRollBack
I hate anyone asking questions without trying to find answer by himself. It does not only waste our time,but also waste his.
What do you mean by this? The texture of chests was determined by modelTexture last time I checked. All the textureFile attributes just determine the particles of the chest.
So wish there was an mod.addISmelterRecipe for Thermal Expansion >_>
Of course I don't know the limits of this mod so...
If CubeX2 is following one of the things he said earlier, he is currently adding IC2 and buildcraft support. Maybe he will start on Thermal Expansion shortly afterwards. I would love to have more uses for my induction smelter, though I much more look forward to adding recipes to Redpower 2's alloy furnace. =P
It should work if the Thermal Expansion use the SmelterRecipe of vanilla mc.
cs2 add the recipe to the mc itself
so any mod that didn't use its special smell recipe should work
Yes, it would work for the powered furnace, but I am pretty sure he wants to add recipes to the induction smelter from the command he posted. The induction smelter takes 2 items and smelts them into 1 item. Example: silver + gold = 2 electrum.
@CubeX2 - The damageReduction item page in the current documentation is blank.
Edit: I noticed several of the pages in the documentation still have the non-metadata versions of the attribute after the correct attributes. Apparently none of the item types use the non-metadata versions so I was curious why it was still there. If it is there for a reason, it needs some kind of note about why so people don't get too confused. Also, the examples for items don't seem to be updated, though you might as well wait until you finish everything to do with item metadata before updating them.
Also, I haven't tested it, but do metadata items work along side maxDamage? I would assume note but if they do, there are a lot of attributes specifically for tools that would need metadata versions to be that useful for tools. Examples: maxDamage, harvestLevel, harvestBlocks, etc.
Yes, it would work for the powered furnace, but I am pretty sure he wants to add recipes to the induction smelter from the command he posted. The induction smelter takes 2 items and smelts them into 1 item. Example: silver + gold = 2 electrum.
According to the ISmelterRecipe API, it requires specifying primary and secondary input, primary and secondary output and the chance of the secondary output occurring, and the amount of mJ used.
According to the ISmelterRecipe API, it requires specifying primary and secondary input, primary and secondary output and the chance of the secondary output occurring, and the amount of mJ used.
If you know the full class path name then you should be able to call it from a script.
org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: wheatGrassItem.js: Attribute onUse: if(side == 1 && (world.getBlockId(position) == 2 || world.getBlockId(position) == 3 || world.getBlockId(position) == 60)){position.y++;if(world.getBlockId(position) == 0){position.y--;player.placeBlock(position, side, config.getBlockId('wheatGrass'), 0, false);player.remove(config.getItemId('wheatGrassItem'), 1, 0);}} is an invalid value. (mod.js#45)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script(mod.js:45)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at cubex2.cs2.DefaultMod.init(DefaultMod.java:101)
at cubex2.cs2.ModLoader.initMods(ModLoader.java:45)
at cubex2.cs2core.CustomStuff2Core.postInit(CustomStuff2Core.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:701)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:213)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:448)
at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:733)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: wheatGrassItem.js: Attribute onUse: if(side == 1 && (world.getBlockId(position) == 2 || world.getBlockId(position) == 3 || world.getBlockId(position) == 60)){position.y++;if(world.getBlockId(position) == 0){position.y--;player.placeBlock(position, side, config.getBlockId('wheatGrass'), 0, false);player.remove(config.getItemId('wheatGrassItem'), 1, 0);}} is an invalid value.
at cubex2.cs2core.attribute.AttributeCollection.loadFromFile(AttributeCollection.java:84)
at cubex2.cs2core.scripting.ScriptableMod.addItem(ScriptableMod.java:1059)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 42 more
org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: wheatGrassItem.js: Attribute onUse: if(side == 1 && (world.getBlockId(position) == 2 || world.getBlockId(position) == 3 || world.getBlockId(position) == 60)){position.y++;if(world.getBlockId(position) == 0){position.y--;player.placeBlock(position, side, config.getBlockId('wheatGrass'), 0, false);player.remove(config.getItemId('wheatGrassItem'), 1, 0);}} is an invalid value. (mod.js#45)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script(mod.js:45)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at cubex2.cs2.DefaultMod.init(DefaultMod.java:101)
at cubex2.cs2.ModLoader.initMods(ModLoader.java:45)
at cubex2.cs2core.CustomStuff2Core.postInit(CustomStuff2Core.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:701)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:213)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:448)
at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:733)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: wheatGrassItem.js: Attribute onUse: if(side == 1 && (world.getBlockId(position) == 2 || world.getBlockId(position) == 3 || world.getBlockId(position) == 60)){position.y++;if(world.getBlockId(position) == 0){position.y--;player.placeBlock(position, side, config.getBlockId('wheatGrass'), 0, false);player.remove(config.getItemId('wheatGrassItem'), 1, 0);}} is an invalid value.
at cubex2.cs2core.attribute.AttributeCollection.loadFromFile(AttributeCollection.java:84)
at cubex2.cs2core.scripting.ScriptableMod.addItem(ScriptableMod.java:1059)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 42 more
You forgot to use the metadata version of the onUse trigger in your wheatGrassItem.js file. In 0.10.2+, all scripting triggers need the [0] part.
@CubeX2 - The damageReduction item page in the current documentation is blank.
Edit: I noticed several of the pages in the documentation still have the non-metadata versions of the attribute after the correct attributes. Apparently none of the item types use the non-metadata versions so I was curious why it was still there. If it is there for a reason, it needs some kind of note about why so people don't get too confused. Also, the examples for items don't seem to be updated, though you might as well wait until you finish everything to do with item metadata before updating them.
On what pages is that the case? I'm aware of the examples and the tutorial.
Also, I haven't tested it, but do metadata items work along side maxDamage? I would assume note but if they do, there are a lot of attributes specifically for tools that would need metadata versions to be that useful for tools. Examples: maxDamage, harvestLevel, harvestBlocks, etc.
Metadata items do not work with maxDamage. You can have either damagable items are metadata items.
Edit: I now really started with mod support. If you know any mod that has an API, feel free to tell me the name of that mod. I already got the APIs from Thermal Expansion, RailCraft, BuildCraft, ThaumCraft and Forestry. You can also make suggestion on what should be supported from one of these mods.
There will be functions for adding recipes for all the TE machines in the next update.
Sounds great. Take your time to make it right too
Been using this to make some mod compatibility with Metallurgy and other mods, so far no unique items but made a whole Force Ingot recipe list for Dartcraft. Noticed something of a problem in the changelog about Shapeless Recipes and NEI?
Edit: I now really started with mod support. If you know any mod that has an API, feel free to tell me the name of that mod. I already got the APIs from Thermal Expansion, RailCraft, BuildCraft, ThaumCraft and Forestry. You can also make suggestion on what should be supported from one of these mods.
I am sure several people would love to see Industrial Craft 2 included in that list. I think being able to add macerator recipes was the reason mod support was first asked for. Also, I don't know if redpower has an API, but I would love to be able to add recipes to its alloy furnace.
Would ThaumCraft support mean we can specify the aspects on our items? Also, I would love to be able to add recipes to the crucible and infusion altar (the one that requires aspects for recipes).
Thanks, it worked! But now, how will I get it to drop multiple things?
I've tried this; it only drops seeds.
drop[0] = "295 1-3", "296 1";
The drop attribute only supports 1 item at a time. If you want to make multiple different items drop, you have to add it to onDestroyedByPlayer or onBreak.
Edit: I now really started with mod support. If you know any mod that has an API, feel free to tell me the name of that mod. I already got the APIs from Thermal Expansion, RailCraft, BuildCraft, ThaumCraft and Forestry. You can also make suggestion on what should be supported from one of these mods.
That sounds great, maybe now I can put the taint back in that they took out of Thaumcraft
As far as suggestions, how about adding in support for Computercraft's peripheral API?
Thanks, it worked! But now, how will I get it to drop multiple things?
I've tried this; it only drops seeds.
drop[0] = "295 1-3", "296 1";
I don't think you can do multiple ID drops using the drop attribute. Try working through the onBreak event. Stick a call to a custom script in there and use spawnItem(ScriptablePosition position, int id, int count, int damage)
Thanks, I did that, but now it says the property wasn't found (quartzBricks.js#1)
You need to add the block property before you add the block that uses it. It is preferable to have all addBlockIdProperty and addItemIdProperty lines be near the top of the file, or at least at the top of each section if you want to divide it up rather than adding everything at once.
But chest top & bottom textureindex not fixed.
Also, support for Factorization Barrels, Alchemical Chests and Apiarist Chests might be nice
Of course I don't know the limits of this mod so...
if you want help about minecraft crash or mod error.
you should give us the crash log and how do you use this mod.
Otherwise, we can't help you about anything.
It should work if the Thermal Expansion use the SmelterRecipe of vanilla mc.
cs2 add the recipe to the mc itself
so any mod that didn't use its special smell recipe should work
What is N++?
What do you mean by this? The texture of chests was determined by modelTexture last time I checked. All the textureFile attributes just determine the particles of the chest.
If CubeX2 is following one of the things he said earlier, he is currently adding IC2 and buildcraft support. Maybe he will start on Thermal Expansion shortly afterwards. I would love to have more uses for my induction smelter, though I much more look forward to adding recipes to Redpower 2's alloy furnace. =P
Yes, it would work for the powered furnace, but I am pretty sure he wants to add recipes to the induction smelter from the command he posted. The induction smelter takes 2 items and smelts them into 1 item. Example: silver + gold = 2 electrum.
@CubeX2 - The damageReduction item page in the current documentation is blank.
Edit: I noticed several of the pages in the documentation still have the non-metadata versions of the attribute after the correct attributes. Apparently none of the item types use the non-metadata versions so I was curious why it was still there. If it is there for a reason, it needs some kind of note about why so people don't get too confused. Also, the examples for items don't seem to be updated, though you might as well wait until you finish everything to do with item metadata before updating them.
Also, I haven't tested it, but do metadata items work along side maxDamage? I would assume note but if they do, there are a lot of attributes specifically for tools that would need metadata versions to be that useful for tools. Examples: maxDamage, harvestLevel, harvestBlocks, etc.
According to the ISmelterRecipe API, it requires specifying primary and secondary input, primary and secondary output and the chance of the secondary output occurring, and the amount of mJ used.
That's how it's set, still same error.fixedIf you know the full class path name then you should be able to call it from a script.
wheatGrass.js
wheatGrassItem.js
error
You forgot to use the metadata version of the onUse trigger in your wheatGrassItem.js file. In 0.10.2+, all scripting triggers need the [0] part.
This is where I wish I knew more about scripting and whatnot. Something tells me I'll probably learn it someday.
If I decide to work on Chest Transporter, I'm going to add support for more chest. I'm busy with CS2 at the moment.
There will be functions for adding recipes for all the TE machines in the next update.
On what pages is that the case? I'm aware of the examples and the tutorial.
Metadata items do not work with maxDamage. You can have either damagable items are metadata items.
Edit: I now really started with mod support. If you know any mod that has an API, feel free to tell me the name of that mod. I already got the APIs from Thermal Expansion, RailCraft, BuildCraft, ThaumCraft and Forestry. You can also make suggestion on what should be supported from one of these mods.
Sounds great. Take your time to make it right too
Been using this to make some mod compatibility with Metallurgy and other mods, so far no unique items but made a whole Force Ingot recipe list for Dartcraft. Noticed something of a problem in the changelog about Shapeless Recipes and NEI?
mod.addShapelessRecipe("ingotForce", ":gemForce", ":ingotCopper", ":ingotCopper");
mod.addShapelessRecipe("ingotForce", ":gemForce", ":ingotTin", ":ingotTin");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotManganese", ":ingotManganese");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotHepatizon", ":ingotHepatizon");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotDamascusSteel", ":ingotDamascusSteel");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotAngmallen", ":ingotAngmallen");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotSteel", ":ingotSteel");
mod.addShapelessRecipe("ingotForce", ":gemForce", ":ingotZinc", ":ingotZinc");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotBrass", ":ingotBrass");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotElectrum", ":ingotElectrum");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotPlatinum", ":ingotPlatinum");
mod.addShapelessRecipe("ingotForce", ":gemForce", ":ingotIgnatius", ":ingotIgnatius");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotShadowIron", ":ingotShadowIron");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotLemurite", ":ingotLemurite");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotShadowSteel", ":ingotShadowSteel");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotMidasium", ":ingotMidasium");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotVyroxeres", ":ingotVyroxeres");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotCeruclase", ":ingotCeruclase");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotAdluorite", ":ingotAdluorite");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotInolae", ":ingotInolae");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotKalendrite", ":ingotKalendrite");
mod.addShapelessRecipe("ingotForce 6", ":gemForce", ":ingotAmordrine", ":ingotAmordrine");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotVulcanite", ":ingotVulcanite");
mod.addShapelessRecipe("ingotForce 6", ":gemForce", ":ingotSanguinite", ":ingotSanguinite");
mod.addShapelessRecipe("ingotForce", ":gemForce", ":ingotPrometheum", ":ingotPrometheum");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotDeepIron", ":ingotDeepIron");
mod.addShapelessRecipe("ingotForce 2", ":gemForce", ":ingotInfusolium", ":ingotInfusolium");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotBlackSteel", ":ingotBlackSteel");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotOureclase", ":ingotOureclase");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotAredrite", ":ingotAredrite");
mod.addShapelessRecipe("ingotForce 3", ":gemForce", ":ingotAstralSilver", ":ingotAstralSilver");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotCarmot", ":ingotCarmot");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotMithril", ":ingotMithril");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotQuicksilver", ":ingotQuicksilver");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotRubracium", ":ingotRubracium");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotHaderoth", ":ingotHaderoth");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotOrichalcum", ":ingotOrichalcum");
mod.addShapelessRecipe("ingotForce 7", ":gemForce", ":ingotCelengil", ":ingotCelengil");
mod.addShapelessRecipe("ingotForce 6", ":gemForce", ":ingotAdamantine", ":ingotAdamantine");
mod.addShapelessRecipe("ingotForce 7", ":gemForce", ":ingotAtlarus", ":ingotAtlarus");
mod.addShapelessRecipe("ingotForce 8", ":gemForce", ":ingotTartarite", ":ingotTartarite");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotEximite", ":ingotEximite");
mod.addShapelessRecipe("ingotForce 4", ":gemForce", ":ingotMeutoite", ":ingotMeutoite");
mod.addShapelessRecipe("ingotForce 5", ":gemForce", ":ingotDesichalkos", ":ingotDesichalkos");
Thanks, it worked! But now, how will I get it to drop multiple things?
I've tried this; it only drops seeds.
Naquadah XD.
¿how to change position ID recipes?.
thanks in advance
The pages that I have found that have both metadata and non-metadata on them are the following:
I am sure several people would love to see Industrial Craft 2 included in that list. I think being able to add macerator recipes was the reason mod support was first asked for. Also, I don't know if redpower has an API, but I would love to be able to add recipes to its alloy furnace.
Would ThaumCraft support mean we can specify the aspects on our items? Also, I would love to be able to add recipes to the crucible and infusion altar (the one that requires aspects for recipes).
The drop attribute only supports 1 item at a time. If you want to make multiple different items drop, you have to add it to onDestroyedByPlayer or onBreak.
That sounds great, maybe now I can put the taint back in that they took out of Thaumcraft
As far as suggestions, how about adding in support for Computercraft's peripheral API?
I don't think you can do multiple ID drops using the drop attribute. Try working through the onBreak event. Stick a call to a custom script in there and use spawnItem(ScriptablePosition position, int id, int count, int damage)
Edit: Damn you Flamarow-Ninja!