The Meaning of Life, the Universe, and Everything.
Join Date:
11/4/2013
Posts:
51
Minecraft:
anti344
Member Details
Updated to 1.0.1! Changelog: -New command task - /cr list - list of all tasks with description. Bugfixes: -Now recipes/recipes.json will be generated automatically. -Now 'cr' command avaible in command blocks. -/cr reload works slightly better.
Rollback Post to RevisionRollBack
If you want updates and sneak peaks of my mods, you can follow me of @Twitter.
So does this work for Forge 1.7.2? It says in the title it does, but in your description you said "In the near future (when the mods are updated to 1.7.2)". Are you refering to your mod? Or other mods? Also, could you explain futher how to instal your mod, where to put stuff, and what file you need to open or create to start working on the custom recipes? Thank you so much for your time.
Yeah, this is probably going to sound stupid but I can't get your mod to work. I put it where it needs to go and everything, and I can even type in the commands and everything like that works, but when I edit the recipes.json file and such it does nothing in game. I have tried restarting the game, reloading the recipe, readding the recipe. Nothing seems to be working. I'm missing something, there is just something I don't understand I guess.
The Meaning of Life, the Universe, and Everything.
Join Date:
11/4/2013
Posts:
51
Minecraft:
anti344
Member Details
New TODO - more chat output, when failed to load recipe, i think, you doing something wrong. Send your JSON here, please(also try this, maybe it's just a JSON parsing error).
Rollback Post to RevisionRollBack
If you want updates and sneak peaks of my mods, you can follow me of @Twitter.
I got it to work, but I had to put in the count for both the input and output. The examples you used kept not working for me. Even on the site you sent me, it said there were errors. But I figured it out. Thanks!
So I feel like a douche for continually asking you questions, but I am new to any form of Minecraft & json coding so I have no idea what I am doing. So I can get a normal, input one item, get an item out, to work. But how do I do that for items in which there are many kinds? For instance, grass is called "tall grass" but there are a few different types of tall grass. How do I write which one is the one I want? There are other similar blocks with this problem. Also how do I use a shapeless to add two different inputs together to create an output? And lastly, is it possible to write code with this mod that would allow me to put in a water bucket and a lava bucket into a crafting table and get 2 empty buckets out, and a block of obsidian? If so, how would I write that? With the nbt/give command?
The Meaning of Life, the Universe, and Everything.
Join Date:
11/4/2013
Posts:
51
Minecraft:
anti344
Member Details
1. Send it here, please. My examples works fine for me.
2. Don't know about types of grass, but wool or dyes(for example) uses item damage, to show difference between them. It's also called "metadata", or "meta", as it used in my mod. {item:"wool", count:16, meta:3} - gives you light blue wool. You can use '-1' to count any metadata.
3. In Minecraft(or its Forge tweak, i don't know) any recipe with buckets will return buckets to you, so just use something like
EDIT:
I can't do so recipes will return something, like buckets, it's completely minecraft/other mod action, so if you craft something with Forge Multipart saw, don't worry, it will remain in crafting grid, as it is.
I am looking to use this mod on my server since the previous custom recipes mod I used hasn't updated yet, but the format of this one is a bit more complicated and I don't really understand how to use it.
How would I write a recipe to craft any color standard wool block into 4 pieces of string?
The Meaning of Life, the Universe, and Everything.
Join Date:
11/4/2013
Posts:
51
Minecraft:
anti344
Member Details
1.
"minecraft:stonebrick",meta:X
should look like
{item:"minecraft:stonebrick",meta:X}
because it think you say
output:"minecraft:stonebrick",
meta:X
and ignore separate meta:X thing.
And you have some extra commas in places where they are not allowed.
"ItemStacks" in every place should look the same - or single string with name or oredict_name, or {item:"name/oredict_name", other_args_like_meta}
2.
Yeah, it's a bit more complicated, but more customizable, oredict, nbt, 1.7, etc.
Some samples for you(i made 2 bugfixes, while writing it xD, so i recommend to wait for an update):
[{
type:"wb:shaped",
shape:["X0X", "0X0", "X0X"],
input:{X:"string"},
output:{item:"web", count:5}
},
{
type:"wb:shapeless",
input:[{item:"wool", meta:-1}],
output:{item:"string", meta:4}
}
]
After update any parsing error will output itself in chat(you can disable it), so you don't need to look in the console.
Rollback Post to RevisionRollBack
If you want updates and sneak peaks of my mods, you can follow me of @Twitter.
The Meaning of Life, the Universe, and Everything.
Join Date:
11/4/2013
Posts:
51
Minecraft:
anti344
Member Details
Updated to 1.1.0! Changelog: -Any kind of JSON parsing error now will output in the chat(you still can disable it in config menu) -The API has been rewritten(in Java) and finally released. -Started to work on some integration with other mods. -A lot of tiny bugfixes + a bit reorganization of the code itself. Bugs: -If you see 'TOTAL FAIL' error in chat - or you completely mess something up or(where the bug is) you just use item name, that does not exist
THIS VERSION IS ABANDONED(BECAUSE OF LICENCE PROBLEMS), NEW, RENAMED, VERSION IS AVAIBLE HERE.
It contains new bugfixes, new features, and i'm working on mod support right now!
Changelog:
-New command task - /cr list - list of all tasks with description.
Bugfixes:
-Now recipes/recipes.json will be generated automatically.
-Now 'cr' command avaible in command blocks.
-/cr reload works slightly better.
There was an old mod that let me convert stones to iron, irons to gold, and golds to diamond, and I miss that a lot.
Can I simulate that mod with your custom recipes mod? It would be great!
Added installation section.
2. Don't know about types of grass, but wool or dyes(for example) uses item damage, to show difference between them. It's also called "metadata", or "meta", as it used in my mod. {item:"wool", count:16, meta:3} - gives you light blue wool. You can use '-1' to count any metadata.
3. In Minecraft(or its Forge tweak, i don't know) any recipe with buckets will return buckets to you, so just use something like
EDIT:
I can't do so recipes will return something, like buckets, it's completely minecraft/other mod action, so if you craft something with Forge Multipart saw, don't worry, it will remain in crafting grid, as it is.
How would I write a recipe to craft any color standard wool block into 4 pieces of string?
Or 5 string in an 'x' shape into 5 cobwebs?
"minecraft:stonebrick",meta:X
should look like
{item:"minecraft:stonebrick",meta:X}
because it think you say
output:"minecraft:stonebrick",
meta:X
and ignore separate meta:X thing.
And you have some extra commas in places where they are not allowed.
[
{
type:"wb:shapeless",
input:[{item:"stonebrick",meta:0}],
output:{item:"stonebrick",meta:1}
},
{
type:"wb:shapeless",
input:[{item:"stonebrick",meta:1}],
output:{item:"minecraft:stonebrick",meta:2}
},
{
type:"wb:shapeless",
input:[{item:"stonebrick",meta:2}],
output:{item:"minecraft:stonebrick",meta:3}
},
{
type:"wb:shapeless",
input:[{item:"minecraft:stonebrick",meta:3}],
output:{item:"stonebrick",meta:0}
}
]
2.
Yeah, it's a bit more complicated, but more customizable, oredict, nbt, 1.7, etc.
Some samples for you(i made 2 bugfixes, while writing it xD, so i recommend to wait for an update):
[{
type:"wb:shaped",
shape:["X0X", "0X0", "X0X"],
input:{X:"string"},
output:{item:"web", count:5}
},
{
type:"wb:shapeless",
input:[{item:"wool", meta:-1}],
output:{item:"string", meta:4}
}
]
After update any parsing error will output itself in chat(you can disable it), so you don't need to look in the console.
Changelog:
-Any kind of JSON parsing error now will output in the chat(you still can disable it in config menu)
-The API has been rewritten(in Java) and finally released.
-Started to work on some integration with other mods.
-A lot of tiny bugfixes + a bit reorganization of the code itself.
Bugs:
-If you see 'TOTAL FAIL' error in chat - or you completely mess something up
or(where the bug is) you just use item name, that does not exist
im trying to make craftable mob spawners
[{
type:"wb:shaped",
shape:["ZXZ", "XYX", "ZXZ"],
input:{X:"string"},{Y:"obsidian"},{Z:"mossy_cobblestone"}
output:{item:"mob_spawner", count:1}
nbt:{display:{Name:"§4Zombie Spawner",EntityId:Zombie]}}
}]
also how do i make it multiple of these recipes but different mobs
And you input tag is incorrect. It should look like
input:{X:"string", Y:"obsidian", Z:"mossy_cobblestone"}
And multiple recipes:
[{...recipe1...}, {...recipe2...}, ... ,{...recipeN...}]
{
type:"wb:shaped",
shape:["XXX", "XYX", "XXX"],
input:[{X:"tallgrass",meta:-1}, {Y:"apple"}],
output:{item:"sapling",meta:4}
},