Package net.trique.wardentools.datagen
Class WTRecipeProvider
java.lang.Object
net.minecraft.data.recipes.RecipeProvider
net.trique.wardentools.datagen.WTRecipeProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider,net.neoforged.neoforge.common.conditions.IConditionBuilder
public class WTRecipeProvider
extends net.minecraft.data.recipes.RecipeProvider
implements net.neoforged.neoforge.common.conditions.IConditionBuilder
-
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 inherited from class net.minecraft.data.recipes.RecipeProvider
advancementPathProvider, recipePathProviderFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionWTRecipeProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaxe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidboots(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected voidbuildRecipes(net.minecraft.data.recipes.RecipeOutput recipeOutput) protected static voidchestplate(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidhelmet(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidhoe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidleggings(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidofferCrossShapedRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike baseItem, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result, int count) protected static voidofferCustomSmithingTemplateCopyingRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike template, net.minecraft.world.level.ItemLike duplicationMaterial, net.minecraft.world.level.ItemLike resource) protected static voidofferCustomUpgradeRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.item.Item template, net.minecraft.world.item.Item input, net.minecraft.world.item.Item itemMaterialUpgrade, net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.item.Item result) protected static voidofferShapelessEchoIngotRecipe(net.minecraft.data.recipes.RecipeOutput exporter) protected static voidpickaxe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidshovel(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) protected static voidsword(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) Methods inherited from class net.minecraft.data.recipes.RecipeProvider
banner, bedFromPlanksAndWool, buildAdvancement, buildAdvancement, buildRecipes, buttonBuilder, candle, carpet, chestBoat, chiseled, chiseledBuilder, colorBlockWithDye, coloredTerracottaFromTerracottaAndDye, concretePowder, cookRecipes, copperBulb, copySmithingTemplate, copySmithingTemplate, copySmithingTemplate, cut, cutBuilder, doorBuilder, fenceBuilder, fenceGateBuilder, generateForEnabledBlockFamilies, generateRecipes, getBaseBlock, getBlastingRecipeName, getConversionRecipeName, getHasName, getItemName, getName, getSimpleRecipeName, getSmeltingRecipeName, grate, 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, run, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, threeByThreePacker, threeByThreePacker, trapdoorBuilder, trimSmithing, twoByTwoPacker, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.conditions.IConditionBuilder
and, FALSE, itemExists, modLoaded, not, or, tagEmpty, TRUE
-
Constructor Details
-
WTRecipeProvider
public WTRecipeProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries)
-
-
Method Details
-
buildRecipes
protected void buildRecipes(net.minecraft.data.recipes.RecipeOutput recipeOutput) - Overrides:
buildRecipesin classnet.minecraft.data.recipes.RecipeProvider
-
offerCustomUpgradeRecipe
protected static void offerCustomUpgradeRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.item.Item template, net.minecraft.world.item.Item input, net.minecraft.world.item.Item itemMaterialUpgrade, net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.item.Item result) -
offerCustomSmithingTemplateCopyingRecipe
protected static void offerCustomSmithingTemplateCopyingRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike template, net.minecraft.world.level.ItemLike duplicationMaterial, net.minecraft.world.level.ItemLike resource) -
offerCrossShapedRecipe
protected static void offerCrossShapedRecipe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike baseItem, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result, int count) -
sword
protected static void sword(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
shovel
protected static void shovel(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
axe
protected static void axe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
hoe
protected static void hoe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
pickaxe
protected static void pickaxe(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
helmet
protected static void helmet(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
boots
protected static void boots(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
chestplate
protected static void chestplate(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
leggings
protected static void leggings(net.minecraft.data.recipes.RecipeOutput exporter, net.minecraft.world.level.ItemLike material, net.minecraft.world.level.ItemLike result) -
offerShapelessEchoIngotRecipe
protected static void offerShapelessEchoIngotRecipe(net.minecraft.data.recipes.RecipeOutput exporter)
-