Package dev.jaxydog.astral.datagen
Class RecipeGenerator
java.lang.Object
net.minecraft.data.server.recipe.RecipeProvider
net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
dev.jaxydog.astral.datagen.RecipeGenerator
- All Implemented Interfaces:
net.minecraft.data.DataProvider
public class RecipeGenerator
extends net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
Provides a simple data generation API for recipes.
-
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.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
outputFields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgenerate(net.minecraft.util.Identifier identifier, net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder builder) static @NotNull RecipeGeneratorMethods inherited from class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
getRecipeIdentifier, run, withConditionsMethods inherited from class net.minecraft.data.server.recipe.RecipeProvider
conditionsFromItem, conditionsFromItem, conditionsFromItemPredicates, conditionsFromTag, convertBetween, createChiseledBlockRecipe, createCondensingRecipe, createCutCopperRecipe, createDoorRecipe, createFenceGateRecipe, createFenceRecipe, createPressurePlateRecipe, createSignRecipe, createSlabRecipe, createStairsRecipe, createTransmutationRecipe, createTrapdoorRecipe, generateCookingRecipes, generateFamilies, generateFamily, getBlastingItemPath, getItemPath, getName, getRecipeName, getSmeltingItemPath, getVariantRecipeInput, getWallRecipe, hasItem, offer2x2CompactingRecipe, offerBannerRecipe, offerBarkBlockRecipe, offerBedRecipe, offerBlasting, offerBoatRecipe, offerCandleDyeingRecipe, offerCarpetRecipe, offerChestBoatRecipe, offerChiseledBlockRecipe, offerCompactingRecipe, offerCompactingRecipe, offerConcretePowderDyeingRecipe, offerCrackingRecipe, offerCutCopperRecipe, offerDyeableRecipes, offerFoodCookingRecipe, offerHangingSignRecipe, offerMosaicRecipe, offerMultipleOptions, offerNetheriteUpgradeRecipe, offerPlanksRecipe, offerPlanksRecipe2, offerPolishedStoneRecipe, offerPressurePlateRecipe, offerReversibleCompactingRecipes, offerReversibleCompactingRecipes, offerReversibleCompactingRecipesWithCompactingRecipeGroup, offerReversibleCompactingRecipesWithReverseRecipeGroup, offerShapelessRecipe, offerSingleOutputShapelessRecipe, offerSlabRecipe, offerSmelting, offerSmithingTemplateCopyingRecipe, offerSmithingTemplateCopyingRecipe, offerSmithingTrimRecipe, offerStainedGlassDyeingRecipe, offerStainedGlassPaneDyeingRecipe, offerStainedGlassPaneRecipe, offerStonecuttingRecipe, offerStonecuttingRecipe, offerTerracottaDyeingRecipe, offerWallRecipe, offerWaxingRecipes, requireEnteringFluid, saveRecipeAdvancement
-
Constructor Details
-
RecipeGenerator
public RecipeGenerator(net.fabricmc.fabric.api.datagen.v1.FabricDataOutput output)
-
-
Method Details
-
getInstance
-
generate
public void generate(net.minecraft.util.Identifier identifier, net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder builder) -
generate
- Specified by:
generatein classnet.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
-