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

    • get

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

      default Identifier upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)
      Mappings:
      Namespace Name Mixin selector
      official create Llj$a;create(Lcpl;Ljava/util/function/BiConsumer;)Lacq;
      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/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 Llj$a;createWithSuffix(Lcpl;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lacq;
      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/TexturedModel$Factory;upload(Lnet/minecraft/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
    • andThen

      default TexturedModel.Factory andThen(Consumer<TextureMap> consumer)
      Mappings:
      Namespace Name Mixin selector
      official updateTexture Llj$a;updateTexture(Ljava/util/function/Consumer;)Llj$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/TexturedModel$Factory;andThen(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/TexturedModel$Factory;