Package net.minecraft.data.recipe
Class RecipeGenerator.RecipeProvider
java.lang.Object
net.minecraft.data.recipe.RecipeGenerator.RecipeProvider
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
VanillaRecipeGenerator.Provider
- Enclosing class:
RecipeGenerator
protected abstract static class RecipeGenerator.RecipeProvider
extends Object
implements DataProvider
- Mappings:
Namespace Name named net/minecraft/data/recipe/RecipeGenerator$RecipeProviderintermediary net/minecraft/class_2446$class_10114official oi$b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DataOutputprivate final CompletableFuture<RegistryWrapper.WrapperLookup> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRecipeProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RecipeGeneratorgetRecipeGenerator(RegistryWrapper.WrapperLookup registries, RecipeExporter exporter) final CompletableFuture<?> run(DataWriter writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.DataProvider
getName
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector named outputLnet/minecraft/data/recipe/RecipeGenerator$RecipeProvider;output:Lnet/minecraft/data/DataOutput;intermediary field_53723Lnet/minecraft/class_2446$class_10114;field_53723:Lnet/minecraft/class_7784;official dLoi$b;d:Lmq;
-
registriesFuture
- Mappings:
Namespace Name Mixin selector named registriesFutureLnet/minecraft/data/recipe/RecipeGenerator$RecipeProvider;registriesFuture:Ljava/util/concurrent/CompletableFuture;intermediary field_53724Lnet/minecraft/class_2446$class_10114;field_53724:Ljava/util/concurrent/CompletableFuture;official eLoi$b;e:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
RecipeProvider
protected RecipeProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/data/recipe/RecipeGenerator$RecipeProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;)Vintermediary <init>Lnet/minecraft/class_2446$class_10114;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;)Vofficial <init>Loi$b;<init>(Lmq;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
run
- Specified by:
runin interfaceDataProvider- Mappings:
Namespace Name Mixin selector named runLnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;intermediary method_10319Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;official aLmo;a(Lmm;)Ljava/util/concurrent/CompletableFuture;
-
getRecipeGenerator
protected abstract RecipeGenerator getRecipeGenerator(RegistryWrapper.WrapperLookup registries, RecipeExporter exporter) - Mappings:
Namespace Name Mixin selector named getRecipeGeneratorLnet/minecraft/data/recipe/RecipeGenerator$RecipeProvider;getRecipeGenerator(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/data/recipe/RecipeExporter;)Lnet/minecraft/data/recipe/RecipeGenerator;intermediary method_62766Lnet/minecraft/class_2446$class_10114;method_62766(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_8790;)Lnet/minecraft/class_2446;official aLoi$b;a(Lji$a;Loh;)Loi;
-