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 ji$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 Lji$a;get(Lbwu;)Lji;
      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 a Lji$a;a(Lbwu;Ljava/util/function/BiConsumer;)Lwb;
      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 a Lji$a;a(Lbwu;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lwb;
      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;
    • withTexture

      default TexturedModel.Factory withTexture​(Consumer<Texture> textureConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lji$a;a(Ljava/util/function/Consumer;)Lji$a;
      intermediary method_25924 Lnet/minecraft/class_4946$class_4947;method_25924(Ljava/util/function/Consumer;)Lnet/minecraft/class_4946$class_4947;
      named withTexture Lnet/minecraft/data/client/model/TexturedModel$Factory;withTexture(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/model/TexturedModel$Factory;