Class PaucalRecipeProvider

java.lang.Object
net.minecraft.data.recipes.RecipeProvider
at.petrak.paucal.api.datagen.PaucalRecipeProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider

public abstract class PaucalRecipeProvider extends net.minecraft.data.recipes.RecipeProvider
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PaucalRecipeProvider(net.minecraft.data.PackOutput out, String modid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance
    hasItem(net.minecraft.advancements.critereon.MinMaxBounds.Ints p_176521_, net.minecraft.world.level.ItemLike p_176522_)
     
    protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance
    hasItem(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> p_206407_)
     
    protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance
    hasItem(net.minecraft.world.level.ItemLike p_125978_)
     
    protected @Nullable net.minecraft.world.item.crafting.Ingredient
    ingredientOf(@Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> item)
     
    protected @Nullable net.minecraft.world.item.crafting.Ingredient
    ingredientOf(@Nullable net.minecraft.world.level.ItemLike item)
     
    protected net.minecraft.resources.ResourceLocation
    modLoc(String path)
     
    protected void
    packing(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike free, net.minecraft.world.level.ItemLike compressed, String freeName, boolean largeSize, Consumer<net.minecraft.data.recipes.FinishedRecipe> recipes)
     
    protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance
    paucalInventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate... $$0)
    Prefixed with paucal to avoid collisions when Forge ATs RecipeProvider.inventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate...).
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable net.minecraft.world.item.crafting.Ingredient inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable net.minecraft.world.level.ItemLike inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable net.minecraft.world.item.crafting.Ingredient inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable net.minecraft.world.level.ItemLike inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> cardinal, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> diagonal, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable net.minecraft.world.item.crafting.Ingredient cardinal, @Nullable net.minecraft.world.item.crafting.Ingredient diagonal, @Nullable net.minecraft.world.item.crafting.Ingredient inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable net.minecraft.world.level.ItemLike cardinal, @Nullable net.minecraft.world.level.ItemLike diagonal, @Nullable net.minecraft.world.level.ItemLike inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable net.minecraft.world.item.crafting.Ingredient inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable net.minecraft.world.level.ItemLike inner)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> top, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> bottom)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient top, net.minecraft.world.item.crafting.Ingredient bottom)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike bottom)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> input)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient input)
     
    protected net.minecraft.data.recipes.ShapedRecipeBuilder
    stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike input)
     

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

    banner, bedFromPlanksAndWool, buildAdvancement, buildRecipes, candle, carpet, chestBoat, chiseled, chiseledBuilder, colorBlockWithDye, coloredTerracottaFromTerracottaAndDye, concretePowder, cookRecipes, copySmithingTemplate, copySmithingTemplate, cut, doorBuilder, generateForEnabledBlockFamilies, generateRecipes, getBlastingRecipeName, getConversionRecipeName, getHasName, getItemName, getName, getSimpleRecipeName, getSmeltingRecipeName, hangingSign, has, has, mosaicBuilder, netheriteSmithing, nineBlockStorageRecipes, nineBlockStorageRecipesRecipesWithCustomUnpacking, nineBlockStorageRecipesWithCustomPacking, oneToOneConversionRecipe, oneToOneConversionRecipe, oreBlasting, oreSmelting, planksFromLog, planksFromLogs, polished, pressurePlate, run, slab, slabBuilder, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, threeByThreePacker, threeByThreePacker, trimSmithing, twoByTwoPacker, wall, waxRecipes, woodenBoat, woodFromLogs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • modid

      protected final String modid
  • Constructor Details

    • PaucalRecipeProvider

      protected PaucalRecipeProvider(net.minecraft.data.PackOutput out, String modid)
  • Method Details

    • ring

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient inner)
    • ring

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable @Nullable net.minecraft.world.level.ItemLike inner)
    • ring

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ring(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
    • ringCornerless

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient inner)
    • ringCornerless

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable @Nullable net.minecraft.world.level.ItemLike inner)
    • ringCornerless

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornerless(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
    • ringAll

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient outer, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient inner)
    • ringAll

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable @Nullable net.minecraft.world.level.ItemLike inner)
    • ringAll

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringAll(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> outer, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
    • ringCornered

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient cardinal, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient diagonal, @Nullable @Nullable net.minecraft.world.item.crafting.Ingredient inner)
    • ringCornered

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable @Nullable net.minecraft.world.level.ItemLike cardinal, @Nullable @Nullable net.minecraft.world.level.ItemLike diagonal, @Nullable @Nullable net.minecraft.world.level.ItemLike inner)
    • ringCornered

      protected net.minecraft.data.recipes.ShapedRecipeBuilder ringCornered(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> cardinal, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> diagonal, @Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> inner)
    • stack

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient top, net.minecraft.world.item.crafting.Ingredient bottom)
    • stack

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike bottom)
    • stack

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stack(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> top, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> bottom)
    • stick

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient input)
    • stick

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike input)
    • stick

      protected net.minecraft.data.recipes.ShapedRecipeBuilder stick(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> input)
    • packing

      protected void packing(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike free, net.minecraft.world.level.ItemLike compressed, String freeName, boolean largeSize, Consumer<net.minecraft.data.recipes.FinishedRecipe> recipes)
      Parameters:
      largeSize - True for a 3x3, false for a 2x2
    • modLoc

      protected net.minecraft.resources.ResourceLocation modLoc(String path)
    • ingredientOf

      @Nullable protected @Nullable net.minecraft.world.item.crafting.Ingredient ingredientOf(@Nullable @Nullable net.minecraft.world.level.ItemLike item)
    • ingredientOf

      @Nullable protected @Nullable net.minecraft.world.item.crafting.Ingredient ingredientOf(@Nullable @Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> item)
    • hasItem

      protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance hasItem(net.minecraft.advancements.critereon.MinMaxBounds.Ints p_176521_, net.minecraft.world.level.ItemLike p_176522_)
    • hasItem

      protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance hasItem(net.minecraft.world.level.ItemLike p_125978_)
    • hasItem

      protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance hasItem(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> p_206407_)
    • paucalInventoryTrigger

      protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance paucalInventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate... $$0)
      Prefixed with paucal to avoid collisions when Forge ATs RecipeProvider.inventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate...).