Class RecipeGenerator.RecipeProvider

java.lang.Object
net.minecraft.data.server.recipe.RecipeGenerator.RecipeProvider
All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
VanillaRecipeGenerator.Provider, WinterDropRecipeGenerator.Provider
Enclosing class:
RecipeGenerator

protected abstract static class RecipeGenerator.RecipeProvider extends Object implements DataProvider
Mappings:
Namespace Name
named net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider
intermediary net/minecraft/class_2446$class_10114
official pc$b
  • Field Details

    • output

      private final DataOutput output
      Mappings:
      Namespace Name Mixin selector
      named output Lnet/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider;output:Lnet/minecraft/data/DataOutput;
      intermediary field_53723 Lnet/minecraft/class_2446$class_10114;field_53723:Lnet/minecraft/class_7784;
      official d Lpc$b;d:Lmj;
    • registriesFuture

      private final CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture
      Mappings:
      Namespace Name Mixin selector
      named registriesFuture Lnet/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider;registriesFuture:Ljava/util/concurrent/CompletableFuture;
      intermediary field_53724 Lnet/minecraft/class_2446$class_10114;field_53724:Ljava/util/concurrent/CompletableFuture;
      official e Lpc$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/server/recipe/RecipeGenerator$RecipeProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;)V
      intermediary <init> Lnet/minecraft/class_2446$class_10114;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;)V
      official <init> Lpc$b;<init>(Lmj;Ljava/util/concurrent/CompletableFuture;)V
  • Method Details

    • run

      public final CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;)Ljava/util/concurrent/CompletableFuture;
    • getRecipeGenerator

      protected abstract RecipeGenerator getRecipeGenerator(RegistryWrapper.WrapperLookup registries, RecipeExporter exporter)
      Mappings:
      Namespace Name Mixin selector
      named getRecipeGenerator Lnet/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider;getRecipeGenerator(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/data/server/recipe/RecipeExporter;)Lnet/minecraft/data/server/recipe/RecipeGenerator;
      intermediary method_62766 Lnet/minecraft/class_2446$class_10114;method_62766(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_8790;)Lnet/minecraft/class_2446;
      official a Lpc$b;a(Ljs$a;Lpb;)Lpc;