uu-matter got some buffs during move to json

This commit is contained in:
drcrazy 2019-07-22 17:26:58 +03:00
parent dbc89adaf7
commit 9ec95d7147
36 changed files with 596 additions and 56 deletions

View file

@ -24,59 +24,18 @@
package techreborn.init.recipes;
import techreborn.TechReborn;
/**
* Created by Prospector
*/
public class CraftingTableRecipes extends RecipeMethods {
/* TODO 1.13 :D
// TODO 1.13 :D
public static void init() {
registerCompressionRecipes();
//UU-Matter
ItemStack uuStack = TRContent.Parts.UU_MATTER.getStack();
registerShaped(getStack(Blocks.LOG, 8), " U ", " ", " ", 'U', uuStack);
registerShaped(getStack(Blocks.STONE, 16), " ", " U ", " ", 'U', uuStack);
registerShaped(getStack(Blocks.SNOW, 16), "U U", " ", " ", 'U', uuStack);
registerShaped(getStack(Blocks.GRASS, 16), " ", "U ", "U ", 'U', uuStack);
registerShaped(getStack(Blocks.OBSIDIAN, 12), "U U", "U U", " ", 'U', uuStack);
registerShaped(getStack(Blocks.GLASS, 32), " U ", "U U", " U ", 'U', uuStack);
registerShaped(getStack(Items.DYE, 32, 3), "UU ", " U", "UU ", 'U', uuStack);
registerShaped(getStack(Blocks.GLOWSTONE, 8), " U ", "U U", "UUU", 'U', uuStack);
registerShaped(getStack(Blocks.CACTUS, 48), " U ", "UUU", "U U", 'U', uuStack);
registerShaped(getStack(Items.REEDS, 48), "U U", "U U", "U U", 'U', uuStack);
registerShaped(getStack(Blocks.VINE, 24), "U ", "U ", "U ", 'U', uuStack);
registerShaped(getStack(Items.SNOWBALL, 16), " ", " ", "UUU", 'U', uuStack);
registerShaped(getStack(Items.CLAY_BALL, 48), "UU ", "U ", "UU ", 'U', uuStack);
registerShaped(getStack(Blocks.WATERLILY, 64), "U U", " U ", " U ", 'U', uuStack);
registerShaped(getStack(Items.GUNPOWDER, 15), "UUU", "U ", "UUU", 'U', uuStack);
registerShaped(getStack(Items.BONE, 32), "U ", "UU ", "U ", 'U', uuStack);
registerShaped(getStack(Items.FEATHER, 32), " U ", " U ", "U U", 'U', uuStack);
registerShaped(getStack(Items.DYE, 48), " UU", " UU", " U ", 'U', uuStack);
registerShaped(getStack(Items.ENDER_PEARL, 1), "UUU", "U U", " U ", 'U', uuStack);
registerShaped(getStack(Items.COAL, 5), " U", "U ", " U", 'U', uuStack);
registerShaped(getStack(Blocks.IRON_ORE, 2), "U U", " U ", "U U", 'U', uuStack);
registerShaped(getStack(Blocks.GOLD_ORE, 2), " U ", "UUU", " U ", 'U', uuStack);
registerShaped(getStack(Items.REDSTONE, 24), " ", " U ", "UUU", 'U', uuStack);
registerShaped(getStack(Items.DYE, 9, 4), " U ", " U ", " UU", 'U', uuStack);
registerShaped(getStack(Blocks.EMERALD_ORE, 1), "UU ", "U U", " UU", 'U', uuStack);
registerShaped(getStack(Items.EMERALD, 2), "UUU", "UUU", " U ", 'U', uuStack);
registerShaped(getStack(Items.DIAMOND, 1), "UUU", "UUU", "UUU", 'U', uuStack);
// registerShaped(getMaterial("tin", 10, Type.DUST), " ", "U U", " U", 'U', uuStack);
// registerShaped(getMaterial("copper", 10, Type.DUST), " U", "U U", " ", 'U', uuStack);
// registerShaped(getMaterial("lead", 14, Type.DUST), "UUU", "UUU", "U ", 'U', uuStack);
// registerShaped(getMaterial("platinum", Type.DUST), " U", "UUU", "UUU", 'U', uuStack);
// registerShaped(getMaterial("tungsten", Type.DUST), "U ", "UUU", "UUU", 'U', uuStack);
// registerShaped(getMaterial("titanium", 2, Type.DUST), "UUU", " U ", " U ", 'U', uuStack);
// registerShaped(getMaterial("aluminum", 16, Type.DUST), " U ", " U ", "UUU", 'U', uuStack);
// registerShaped(getMaterial("iridium", 1, Type.ORE), "UUU", " U ", "UUU", 'U', uuStack);
RebornCraftingHelper.addShapelessOreRecipe(new ItemStack(TRContent.MANUAL), "ingotRefinedIron",
Items.BOOK);
TechReborn.LOGGER.info("Crafting Table Recipes Added");
}
@ -118,15 +77,4 @@ public class CraftingTableRecipes extends RecipeMethods {
// registerShapeless(getMaterial("diamond", 9, Type.NUGGET), "gemDiamond");
// registerShaped(getStack(Items.DIAMOND), "NNN", "NNN", "NNN", 'N', "nuggetDiamond");
}
static void registerShaped(ItemStack output, Object... inputs) {
RebornCraftingHelper.addShapedOreRecipe(output, inputs);
}
static void registerShapeless(ItemStack output, Object... inputs) {
RebornCraftingHelper.addShapelessOreRecipe(output, inputs);
}
*/
}