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
named net/minecraft/data/client/TexturedModel$Factory
intermediary net/minecraft/class_4946$class_4947
official ov$a
  • Method Details

    • get

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

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

      default Identifier upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)
      Mappings:
      Namespace Name Mixin selector
      named upload Lnet/minecraft/data/client/TexturedModel$Factory;upload(Lnet/minecraft/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
      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;
      official createWithSuffix Lov$a;createWithSuffix(Ldkl;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lalz;
    • andThen

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