Interface TexturedModel.Factory

Enclosing class:
TexturedModel
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TexturedModel.Factory
Mappings:
Namespace Name
official jv$a
intermediary net/minecraft/class_4946$class_4947
named net/minecraft/data/client/model/TexturedModel$Factory
  • Method Details

    • get

      TexturedModel get(Block block)
      Mappings:
      Namespace Name Mixin selector
      official get Ljv$a;get(Lccr;)Ljv;
      intermediary get Lnet/minecraft/class_4946$class_4947;get(Lnet/minecraft/class_2248;)Lnet/minecraft/class_4946;
      named get Lnet/minecraft/data/client/model/TexturedModel$Factory;get(Lnet/minecraft/block/Block;)Lnet/minecraft/data/client/model/TexturedModel;
    • upload

      default Identifier upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)
      Mappings:
      Namespace Name Mixin selector
      official create Ljv$a;create(Lccr;Ljava/util/function/BiConsumer;)Lyb;
      intermediary method_25923 Lnet/minecraft/class_4946$class_4947;method_25923(Lnet/minecraft/class_2248;Ljava/util/function/BiConsumer;)Lnet/minecraft/class_2960;
      named upload Lnet/minecraft/data/client/model/TexturedModel$Factory;upload(Lnet/minecraft/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
    • upload

      default Identifier upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)
      Mappings:
      Namespace Name Mixin selector
      official createWithSuffix Ljv$a;createWithSuffix(Lccr;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lyb;
      intermediary method_25922 Lnet/minecraft/class_4946$class_4947;method_25922(Lnet/minecraft/class_2248;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/class_2960;
      named upload Lnet/minecraft/data/client/model/TexturedModel$Factory;upload(Lnet/minecraft/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
    • andThen

      default TexturedModel.Factory andThen(Consumer<Texture> consumer)
      Mappings:
      Namespace Name Mixin selector
      official updateTexture Ljv$a;updateTexture(Ljava/util/function/Consumer;)Ljv$a;
      intermediary method_35912 Lnet/minecraft/class_4946$class_4947;method_35912(Ljava/util/function/Consumer;)Lnet/minecraft/class_4946$class_4947;
      named andThen Lnet/minecraft/data/client/model/TexturedModel$Factory;andThen(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/model/TexturedModel$Factory;