[b]Compatibility[/b]:
Should be compatible with anything, no base classes edited. Would only conflict with other mods that add the same receipe or a shaped 1 wool receipe.
[b]License:[/b] Public Domain
Source code[/b]']
package net.minecraft.src;
public class mod_easystring extends BaseMod
{
public void load()
{
/* addShapelessRecipe = No specific pattern, place anywhere in grafting grid */
/* 287 = String, 3 of them <--- 35 = white wool, 1 of them */
ModLoader.addShapelessRecipe(new ItemStack(287,3,0), new Object[] {new ItemStack(35,1,0)});
}
public String getVersion()
{
return "mod_easystring v1.0";
}
}
Well... it's how i learn any new language. So maybe people who see the code will learn something from it, wanna learn more elsewhere, and make a mod I just cant live without someday
A simple mod that a user [Chalybs_Levitas] requested.
Shapeless receipe, 1 wool to 3 string. Only accepts white wool, and because of having to tear the strands of wool apart there is some string loss.
[b]Image:[/b]
[b]Downloads and Install:[/b]
Should be compatible with anything, no base classes edited. Would only conflict with other mods that add the same receipe or a shaped 1 wool receipe.
[b]License:[/b] Public Domain
Super cool of you, and just what I needed!