mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 22:44:34 +00:00
Update buildscript & spotlessApply (#78)
* Update buildscript & spotlessApply * Add mapping version
This commit is contained in:
1 parent
f272840987
commit
cf41b89ae4
851 files changed
+95348
-92599
No files matched your search
@@ -1,35 +1,35 @@
|
||||
package crazypants.util;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
import net.minecraftforge.oredict.ShapelessOreRecipe;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class RecipeUtil {
|
||||
|
||||
public static void addShaped(Item res, Object... recipe) {
|
||||
addShaped(new ItemStack(res), recipe);
|
||||
}
|
||||
public static void addShaped(Item res, Object... recipe) {
|
||||
addShaped(new ItemStack(res), recipe);
|
||||
}
|
||||
|
||||
public static void addShaped(Block res, Object... recipe) {
|
||||
addShaped(new ItemStack(res), recipe);
|
||||
}
|
||||
public static void addShaped(Block res, Object... recipe) {
|
||||
addShaped(new ItemStack(res), recipe);
|
||||
}
|
||||
|
||||
public static void addShaped(ItemStack res, Object... recipe) {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(res, recipe));
|
||||
}
|
||||
public static void addShaped(ItemStack res, Object... recipe) {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(res, recipe));
|
||||
}
|
||||
|
||||
public static void addShapeless(Item res, Object... recipe) {
|
||||
addShapeless(new ItemStack(res), recipe);
|
||||
}
|
||||
public static void addShapeless(Item res, Object... recipe) {
|
||||
addShapeless(new ItemStack(res), recipe);
|
||||
}
|
||||
|
||||
public static void addShapeless(Block res, Object... recipe) {
|
||||
addShapeless(new ItemStack(res), recipe);
|
||||
}
|
||||
public static void addShapeless(Block res, Object... recipe) {
|
||||
addShapeless(new ItemStack(res), recipe);
|
||||
}
|
||||
|
||||
public static void addShapeless(ItemStack res, Object... recipe) {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(res, recipe));
|
||||
}
|
||||
public static void addShapeless(ItemStack res, Object... recipe) {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(res, recipe));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user