Class ModelProvider

java.lang.Object
net.minecraft.data.client.ModelProvider
All Implemented Interfaces:
DataProvider

public class ModelProvider extends Object implements DataProvider
Mappings:
Namespace Name
official la
intermediary net/minecraft/class_4916
named net/minecraft/data/client/ModelProvider
  • Field Details

    • blockstatesPathResolver

      private final DataOutput.PathResolver blockstatesPathResolver
      Mappings:
      Namespace Name Mixin selector
      official d Lla;d:Ljj$a;
      intermediary field_39375 Lnet/minecraft/class_4916;field_39375:Lnet/minecraft/class_7784$class_7489;
      named blockstatesPathResolver Lnet/minecraft/data/client/ModelProvider;blockstatesPathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
    • modelsPathResolver

      private final DataOutput.PathResolver modelsPathResolver
      Mappings:
      Namespace Name Mixin selector
      official e Lla;e:Ljj$a;
      intermediary field_39376 Lnet/minecraft/class_4916;field_39376:Lnet/minecraft/class_7784$class_7489;
      named modelsPathResolver Lnet/minecraft/data/client/ModelProvider;modelsPathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
  • Constructor Details

    • ModelProvider

      public ModelProvider(DataOutput output)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lla;<init>(Ljj;)V
      intermediary <init> Lnet/minecraft/class_4916;<init>(Lnet/minecraft/class_7784;)V
      named <init> Lnet/minecraft/data/client/ModelProvider;<init>(Lnet/minecraft/data/DataOutput;)V
  • Method Details

    • run

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

      private <T> CompletableFuture<?> writeJsons(DataWriter cache, Map<T,? extends Supplier<JsonElement>> models, Function<T,Path> pathGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lla;a(Ljf;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_25735 Lnet/minecraft/class_4916;method_25735(Lnet/minecraft/class_7403;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
      named writeJsons Lnet/minecraft/data/client/ModelProvider;writeJsons(Lnet/minecraft/data/DataWriter;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ljh;a()Ljava/lang/String;
      intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
      named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;