Class RecipeProvider.Runner
java.lang.Object
net.minecraft.data.recipes.RecipeProvider.Runner
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
NeoForgeRecipeProvider.Runner, VanillaRecipeProvider.Runner
- Enclosing class:
RecipeProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataProvider
DataProvider.Factory<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PackOutputprivate final CompletableFuture<HolderLookup.Provider> Fields inherited from interface DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRunner(PackOutput packOutput, CompletableFuture<HolderLookup.Provider> registries) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RecipeProvidercreateRecipeProvider(HolderLookup.Provider registries, RecipeOutput output) final CompletableFuture<?> run(CachedOutput cache) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataProvider
getName
-
Field Details
-
packOutput
-
registries
-
-
Constructor Details
-
Runner
-
-
Method Details
-
run
- Specified by:
runin interfaceDataProvider
-
createRecipeProvider
protected abstract RecipeProvider createRecipeProvider(HolderLookup.Provider registries, RecipeOutput output)
-