java.lang.Object
net.minecraft.data.recipes.RecipeProvider
tech.anonymoushacker1279.immersiveweapons.data.recipes.RecipeGenerator
All Implemented Interfaces:
net.minecraft.data.DataProvider, DataGenUtils
Direct Known Subclasses:
FamilyGenerator

public class RecipeGenerator extends net.minecraft.data.recipes.RecipeProvider implements DataGenUtils
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider

    net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider>
  • Field Summary

    Fields inherited from class net.minecraft.data.recipes.RecipeProvider

    advancementPathProvider, lookupProvider, recipePathProvider

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipeGenerator(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> lookupProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    buildRecipes(net.minecraft.data.recipes.RecipeOutput output)
     
    static void
    createArrow(net.minecraft.world.item.ArrowItem arrow, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
     
    static void
    createGauntlet(net.minecraft.world.item.Item gauntlet, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
     
    static void
    createMusketBall(net.minecraft.world.item.Item musketBall, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
     
    static void
    createPike(net.minecraft.world.item.Item pike, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material, net.minecraft.world.item.Item pikeHead)
     
    static void
    createPikeHead(net.minecraft.world.item.Item pikeHead, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> nugget)
     
    static void
    createSmeltingRecipe(List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, @Nullable String pGroup)
     
    protected static String
    getConversionRecipeName(net.minecraft.world.level.ItemLike pResult, net.minecraft.world.level.ItemLike pIngredient)
     
    protected static String
    getHasName(net.minecraft.world.level.ItemLike pItemLike)
     
    protected static String
    getItemName(net.minecraft.world.level.ItemLike pItemLike)
     
    protected static String
    getTagName(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> tagKey)
     

    Methods inherited from class net.minecraft.data.recipes.RecipeProvider

    banner, bedFromPlanksAndWool, buildAdvancement, buttonBuilder, candle, carpet, chestBoat, chiseled, chiseledBuilder, colorBlockWithDye, coloredTerracottaFromTerracottaAndDye, concretePowder, cookRecipes, copySmithingTemplate, copySmithingTemplate, cut, cutBuilder, doorBuilder, fenceBuilder, fenceGateBuilder, generateForEnabledBlockFamilies, generateRecipes, getBaseBlock, getBlastingRecipeName, getName, getSimpleRecipeName, getSmeltingRecipeName, hangingSign, has, has, has, insideOf, inventoryTrigger, inventoryTrigger, mosaicBuilder, netheriteSmithing, nineBlockStorageRecipes, nineBlockStorageRecipes, nineBlockStorageRecipesRecipesWithCustomUnpacking, nineBlockStorageRecipesWithCustomPacking, oneToOneConversionRecipe, oneToOneConversionRecipe, oreBlasting, oreCooking, oreSmelting, planksFromLog, planksFromLogs, polished, polishedBuilder, pressurePlate, pressurePlateBuilder, run, saveAdvancement, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, threeByThreePacker, threeByThreePacker, trapdoorBuilder, trimSmithing, twoByTwoPacker, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface tech.anonymoushacker1279.immersiveweapons.data.DataGenUtils

    getArmorTrimLocation, getBlockItemLocation, getBowPullingLocation, getBowPullingPredicateLocation, getItemLocation
  • Constructor Details

    • RecipeGenerator

      public RecipeGenerator(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> lookupProvider)
  • Method Details

    • buildRecipes

      protected void buildRecipes(net.minecraft.data.recipes.RecipeOutput output)
      Specified by:
      buildRecipes in class net.minecraft.data.recipes.RecipeProvider
    • createArrow

      public static void createArrow(net.minecraft.world.item.ArrowItem arrow, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
    • createPikeHead

      public static void createPikeHead(net.minecraft.world.item.Item pikeHead, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> nugget)
    • createPike

      public static void createPike(net.minecraft.world.item.Item pike, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material, net.minecraft.world.item.Item pikeHead)
    • createGauntlet

      public static void createGauntlet(net.minecraft.world.item.Item gauntlet, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
    • createMusketBall

      public static void createMusketBall(net.minecraft.world.item.Item musketBall, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> material)
    • createSmeltingRecipe

      public static void createSmeltingRecipe(List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, @Nullable @Nullable String pGroup)
    • getConversionRecipeName

      protected static String getConversionRecipeName(net.minecraft.world.level.ItemLike pResult, net.minecraft.world.level.ItemLike pIngredient)
    • getItemName

      protected static String getItemName(net.minecraft.world.level.ItemLike pItemLike)
    • getTagName

      protected static String getTagName(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> tagKey)
    • getHasName

      protected static String getHasName(net.minecraft.world.level.ItemLike pItemLike)