Cleaned up and automated some recipe stuff
Correct recipes to and from storage blocks are now available. The old wrong ones still need to be removed (e.g. sapphires to chrome block.)
This commit is contained in:
parent
f2667db9de
commit
c15302a789
3 changed files with 52 additions and 66 deletions
|
@ -5,6 +5,7 @@ import java.util.List;
|
|||
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
@ -19,6 +20,16 @@ public class ItemDusts extends ItemTR {
|
|||
return new ItemStack(ModItems.dusts, count, i);
|
||||
}
|
||||
}
|
||||
|
||||
if (name.equalsIgnoreCase("glowstone")) {
|
||||
return new ItemStack(Items.glowstone_dust, count);
|
||||
}
|
||||
if (name.equalsIgnoreCase("redstone")) {
|
||||
return new ItemStack(Items.redstone, count);
|
||||
}
|
||||
if (name.equalsIgnoreCase("gunpowder")) {
|
||||
return new ItemStack(Items.gunpowder, count);
|
||||
}
|
||||
throw new InvalidParameterException("The gem " + name + " could not be found.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue