Package at.petrak.paucal.api.datagen
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
-
Field Summary
FieldsFields inherited from interface net.minecraft.data.DataProvider
SHA1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstancehasItem(net.minecraft.advancements.critereon.MinMaxBounds.Ints p_176521_, net.minecraft.world.level.ItemLike p_176522_) protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstancehasItem(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> p_206407_) protected static net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstancehasItem(net.minecraft.world.level.ItemLike p_125978_) protected @Nullable net.minecraft.world.item.crafting.IngredientingredientOf(@Nullable net.minecraft.tags.TagKey<net.minecraft.world.item.Item> item) protected @Nullable net.minecraft.world.item.crafting.IngredientingredientOf(@Nullable net.minecraft.world.level.ItemLike item) protected abstract voidmakeRecipes(Consumer<net.minecraft.data.recipes.FinishedRecipe> recipes) protected net.minecraft.resources.ResourceLocationprotected voidpacking(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.TriggerInstancepaucalInventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate... $$0) Prefixed withpaucalto avoid collisions when Forge ATsRecipeProvider.inventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate...).protected net.minecraft.data.recipes.ShapedRecipeBuilderring(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.ShapedRecipeBuilderring(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.ShapedRecipeBuilderring(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.ShapedRecipeBuilderringAll(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.ShapedRecipeBuilderringAll(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.ShapedRecipeBuilderringAll(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.ShapedRecipeBuilderringCornered(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.ShapedRecipeBuilderringCornered(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.ShapedRecipeBuilderringCornered(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.ShapedRecipeBuilderringCornerless(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.ShapedRecipeBuilderringCornerless(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.ShapedRecipeBuilderringCornerless(net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike outer, @Nullable net.minecraft.world.level.ItemLike inner) voidrun(net.minecraft.data.HashCache cache) [VanillaCopy] RecipeProvider, but changed to use our custom protected method and not the stupid private static one.protected net.minecraft.data.recipes.ShapedRecipeBuilderstack(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.ShapedRecipeBuilderstack(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.ShapedRecipeBuilderstack(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.ShapedRecipeBuilderstick(net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> input) protected net.minecraft.data.recipes.ShapedRecipeBuilderstick(net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient input) protected net.minecraft.data.recipes.ShapedRecipeBuilderstick(net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike input) Methods inherited from class net.minecraft.data.recipes.RecipeProvider
candle, chiseled, chiseledBuilder, cut, cutBuilder, getName, polished, polishedBuilder, wall, wallBuilder
-
Field Details
-
generator
public final net.minecraft.data.DataGenerator generator -
modid
-
-
Constructor Details
-
PaucalRecipeProvider
-
-
Method Details
-
run
public void run(net.minecraft.data.HashCache cache) [VanillaCopy] RecipeProvider, but changed to use our custom protected method and not the stupid private static one.- Specified by:
runin interfacenet.minecraft.data.DataProvider- Overrides:
runin classnet.minecraft.data.recipes.RecipeProvider
-
makeRecipes
-
ring
protected net.minecraft.data.recipes.ShapedRecipeBuilder ring(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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.world.level.ItemLike out, int count, net.minecraft.world.item.crafting.Ingredient input) -
stick
protected net.minecraft.data.recipes.ShapedRecipeBuilder stick(net.minecraft.world.level.ItemLike out, int count, net.minecraft.world.level.ItemLike input) -
stick
protected net.minecraft.data.recipes.ShapedRecipeBuilder stick(net.minecraft.world.level.ItemLike out, int count, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> input) -
packing
protected void packing(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
-
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 withpaucalto avoid collisions when Forge ATsRecipeProvider.inventoryTrigger(net.minecraft.advancements.critereon.ItemPredicate...).
-