public static void addPotionFillRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessPotionFillRecipe recipe = new ShapelessPotionFillRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapelessSecureRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessSecureRecipe recipe = new ShapelessSecureRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapelessFluidRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessFluidRecipe recipe = new ShapelessFluidRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapelessUpgradeKitRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessUpgradeKitRecipe recipe = new ShapelessUpgradeKitRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addColorRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessColorRecipe recipe = new ShapelessColorRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addColorRemoveRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessColorRemoveRecipe recipe = new ShapelessColorRemoveRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapedFluidRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); CraftingHelper.ShapedPrimer primer = CraftingHelper.parseShaped(input); ShapedFluidRecipe recipe = new ShapedFluidRecipe(location, output, primer); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapedUpgradeRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); CraftingHelper.ShapedPrimer primer = CraftingHelper.parseShaped(input); ShapedUpgradeRecipe recipe = new ShapedUpgradeRecipe(location, output, primer); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapelessRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessRecipes recipe = new ShapelessRecipes(location.getResourceDomain(), output, buildInput(input)); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addShapedRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); CraftingHelper.ShapedPrimer primer = CraftingHelper.parseShaped(input); ShapedRecipes recipe = new ShapedRecipes(output.getItem().getRegistryName().toString(), primer.width, primer.height, primer.input, output); recipe.setRegistryName(location); GameData.register_impl(recipe); }