Class TexturedModel

java.lang.Object
net.minecraft.data.client.model.TexturedModel

public class TexturedModel extends Object
Represents a model with texture variables defined.
Mappings:
Namespace Name
official jv
intermediary net/minecraft/class_4946
named net/minecraft/data/client/model/TexturedModel
  • Field Details

    • CUBE_ALL

      public static final TexturedModel.Factory CUBE_ALL
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a:Ljv$a;
      intermediary field_23036 Lnet/minecraft/class_4946;field_23036:Lnet/minecraft/class_4946$class_4947;
      named CUBE_ALL Lnet/minecraft/data/client/model/TexturedModel;CUBE_ALL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CUBE_MIRRORED_ALL

      public static final TexturedModel.Factory CUBE_MIRRORED_ALL
      Mappings:
      Namespace Name Mixin selector
      official b Ljv;b:Ljv$a;
      intermediary field_23037 Lnet/minecraft/class_4946;field_23037:Lnet/minecraft/class_4946$class_4947;
      named CUBE_MIRRORED_ALL Lnet/minecraft/data/client/model/TexturedModel;CUBE_MIRRORED_ALL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CUBE_COLUMN

      public static final TexturedModel.Factory CUBE_COLUMN
      Mappings:
      Namespace Name Mixin selector
      official c Ljv;c:Ljv$a;
      intermediary field_23038 Lnet/minecraft/class_4946;field_23038:Lnet/minecraft/class_4946$class_4947;
      named CUBE_COLUMN Lnet/minecraft/data/client/model/TexturedModel;CUBE_COLUMN:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CUBE_COLUMN_HORIZONTAL

      public static final TexturedModel.Factory CUBE_COLUMN_HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      official d Ljv;d:Ljv$a;
      intermediary field_23039 Lnet/minecraft/class_4946;field_23039:Lnet/minecraft/class_4946$class_4947;
      named CUBE_COLUMN_HORIZONTAL Lnet/minecraft/data/client/model/TexturedModel;CUBE_COLUMN_HORIZONTAL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CUBE_BOTTOM_TOP

      public static final TexturedModel.Factory CUBE_BOTTOM_TOP
      Mappings:
      Namespace Name Mixin selector
      official e Ljv;e:Ljv$a;
      intermediary field_23040 Lnet/minecraft/class_4946;field_23040:Lnet/minecraft/class_4946$class_4947;
      named CUBE_BOTTOM_TOP Lnet/minecraft/data/client/model/TexturedModel;CUBE_BOTTOM_TOP:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CUBE_TOP

      public static final TexturedModel.Factory CUBE_TOP
      Mappings:
      Namespace Name Mixin selector
      official f Ljv;f:Ljv$a;
      intermediary field_23041 Lnet/minecraft/class_4946;field_23041:Lnet/minecraft/class_4946$class_4947;
      named CUBE_TOP Lnet/minecraft/data/client/model/TexturedModel;CUBE_TOP:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • ORIENTABLE

      public static final TexturedModel.Factory ORIENTABLE
      Mappings:
      Namespace Name Mixin selector
      official g Ljv;g:Ljv$a;
      intermediary field_23042 Lnet/minecraft/class_4946;field_23042:Lnet/minecraft/class_4946$class_4947;
      named ORIENTABLE Lnet/minecraft/data/client/model/TexturedModel;ORIENTABLE:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • ORIENTABLE_WITH_BOTTOM

      public static final TexturedModel.Factory ORIENTABLE_WITH_BOTTOM
      Mappings:
      Namespace Name Mixin selector
      official h Ljv;h:Ljv$a;
      intermediary field_23043 Lnet/minecraft/class_4946;field_23043:Lnet/minecraft/class_4946$class_4947;
      named ORIENTABLE_WITH_BOTTOM Lnet/minecraft/data/client/model/TexturedModel;ORIENTABLE_WITH_BOTTOM:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CARPET

      public static final TexturedModel.Factory CARPET
      Mappings:
      Namespace Name Mixin selector
      official i Ljv;i:Ljv$a;
      intermediary field_23044 Lnet/minecraft/class_4946;field_23044:Lnet/minecraft/class_4946$class_4947;
      named CARPET Lnet/minecraft/data/client/model/TexturedModel;CARPET:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • TEMPLATE_GLAZED_TERRACOTTA

      public static final TexturedModel.Factory TEMPLATE_GLAZED_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official j Ljv;j:Ljv$a;
      intermediary field_23045 Lnet/minecraft/class_4946;field_23045:Lnet/minecraft/class_4946$class_4947;
      named TEMPLATE_GLAZED_TERRACOTTA Lnet/minecraft/data/client/model/TexturedModel;TEMPLATE_GLAZED_TERRACOTTA:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • CORAL_FAN

      public static final TexturedModel.Factory CORAL_FAN
      Mappings:
      Namespace Name Mixin selector
      official k Ljv;k:Ljv$a;
      intermediary field_23046 Lnet/minecraft/class_4946;field_23046:Lnet/minecraft/class_4946$class_4947;
      named CORAL_FAN Lnet/minecraft/data/client/model/TexturedModel;CORAL_FAN:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • PARTICLE

      public static final TexturedModel.Factory PARTICLE
      Mappings:
      Namespace Name Mixin selector
      official l Ljv;l:Ljv$a;
      intermediary field_23047 Lnet/minecraft/class_4946;field_23047:Lnet/minecraft/class_4946$class_4947;
      named PARTICLE Lnet/minecraft/data/client/model/TexturedModel;PARTICLE:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • TEMPLATE_ANVIL

      public static final TexturedModel.Factory TEMPLATE_ANVIL
      Mappings:
      Namespace Name Mixin selector
      official m Ljv;m:Ljv$a;
      intermediary field_23048 Lnet/minecraft/class_4946;field_23048:Lnet/minecraft/class_4946$class_4947;
      named TEMPLATE_ANVIL Lnet/minecraft/data/client/model/TexturedModel;TEMPLATE_ANVIL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • LEAVES

      public static final TexturedModel.Factory LEAVES
      Mappings:
      Namespace Name Mixin selector
      official n Ljv;n:Ljv$a;
      intermediary field_23049 Lnet/minecraft/class_4946;field_23049:Lnet/minecraft/class_4946$class_4947;
      named LEAVES Lnet/minecraft/data/client/model/TexturedModel;LEAVES:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • TEMPLATE_LANTERN

      public static final TexturedModel.Factory TEMPLATE_LANTERN
      Mappings:
      Namespace Name Mixin selector
      official o Ljv;o:Ljv$a;
      intermediary field_23050 Lnet/minecraft/class_4946;field_23050:Lnet/minecraft/class_4946$class_4947;
      named TEMPLATE_LANTERN Lnet/minecraft/data/client/model/TexturedModel;TEMPLATE_LANTERN:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • TEMPLATE_HANGING_LANTERN

      public static final TexturedModel.Factory TEMPLATE_HANGING_LANTERN
      Mappings:
      Namespace Name Mixin selector
      official p Ljv;p:Ljv$a;
      intermediary field_23051 Lnet/minecraft/class_4946;field_23051:Lnet/minecraft/class_4946$class_4947;
      named TEMPLATE_HANGING_LANTERN Lnet/minecraft/data/client/model/TexturedModel;TEMPLATE_HANGING_LANTERN:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • TEMPLATE_SEAGRASS

      public static final TexturedModel.Factory TEMPLATE_SEAGRASS
      Mappings:
      Namespace Name Mixin selector
      official q Ljv;q:Ljv$a;
      intermediary field_23054 Lnet/minecraft/class_4946;field_23054:Lnet/minecraft/class_4946$class_4947;
      named TEMPLATE_SEAGRASS Lnet/minecraft/data/client/model/TexturedModel;TEMPLATE_SEAGRASS:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • END_FOR_TOP_CUBE_COLUMN

      public static final TexturedModel.Factory END_FOR_TOP_CUBE_COLUMN
      Mappings:
      Namespace Name Mixin selector
      official r Ljv;r:Ljv$a;
      intermediary field_23055 Lnet/minecraft/class_4946;field_23055:Lnet/minecraft/class_4946$class_4947;
      named END_FOR_TOP_CUBE_COLUMN Lnet/minecraft/data/client/model/TexturedModel;END_FOR_TOP_CUBE_COLUMN:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • END_FOR_TOP_CUBE_COLUMN_HORIZONTAL

      public static final TexturedModel.Factory END_FOR_TOP_CUBE_COLUMN_HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      official s Ljv;s:Ljv$a;
      intermediary field_23056 Lnet/minecraft/class_4946;field_23056:Lnet/minecraft/class_4946$class_4947;
      named END_FOR_TOP_CUBE_COLUMN_HORIZONTAL Lnet/minecraft/data/client/model/TexturedModel;END_FOR_TOP_CUBE_COLUMN_HORIZONTAL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • SIDE_TOP_BOTTOM_WALL

      public static final TexturedModel.Factory SIDE_TOP_BOTTOM_WALL
      Mappings:
      Namespace Name Mixin selector
      official t Ljv;t:Ljv$a;
      intermediary field_23057 Lnet/minecraft/class_4946;field_23057:Lnet/minecraft/class_4946$class_4947;
      named SIDE_TOP_BOTTOM_WALL Lnet/minecraft/data/client/model/TexturedModel;SIDE_TOP_BOTTOM_WALL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • SIDE_END_WALL

      public static final TexturedModel.Factory SIDE_END_WALL
      Mappings:
      Namespace Name Mixin selector
      official u Ljv;u:Ljv$a;
      intermediary field_23959 Lnet/minecraft/class_4946;field_23959:Lnet/minecraft/class_4946$class_4947;
      named SIDE_END_WALL Lnet/minecraft/data/client/model/TexturedModel;SIDE_END_WALL:Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • texture

      private final Texture texture
      Mappings:
      Namespace Name Mixin selector
      official v Ljv;v:Ljt;
      intermediary field_23058 Lnet/minecraft/class_4946;field_23058:Lnet/minecraft/class_4944;
      named texture Lnet/minecraft/data/client/model/TexturedModel;texture:Lnet/minecraft/data/client/model/Texture;
    • model

      private final Model model
      Mappings:
      Namespace Name Mixin selector
      official w Ljv;w:Ljr;
      intermediary field_23059 Lnet/minecraft/class_4946;field_23059:Lnet/minecraft/class_4942;
      named model Lnet/minecraft/data/client/model/TexturedModel;model:Lnet/minecraft/data/client/model/Model;
  • Constructor Details

    • TexturedModel

      private TexturedModel(Texture texture, Model model)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljv;<init>(Ljt;Ljr;)V
      intermediary <init> Lnet/minecraft/class_4946;<init>(Lnet/minecraft/class_4944;Lnet/minecraft/class_4942;)V
      named <init> Lnet/minecraft/data/client/model/TexturedModel;<init>(Lnet/minecraft/data/client/model/Texture;Lnet/minecraft/data/client/model/Model;)V
  • Method Details

    • getModel

      public Model getModel()
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a()Ljr;
      intermediary method_25914 Lnet/minecraft/class_4946;method_25914()Lnet/minecraft/class_4942;
      named getModel Lnet/minecraft/data/client/model/TexturedModel;getModel()Lnet/minecraft/data/client/model/Model;
    • getTexture

      public Texture getTexture()
      Mappings:
      Namespace Name Mixin selector
      official b Ljv;b()Ljt;
      intermediary method_25921 Lnet/minecraft/class_4946;method_25921()Lnet/minecraft/class_4944;
      named getTexture Lnet/minecraft/data/client/model/TexturedModel;getTexture()Lnet/minecraft/data/client/model/Texture;
    • texture

      public TexturedModel texture(Consumer<Texture> textureConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Ljava/util/function/Consumer;)Ljv;
      intermediary method_25917 Lnet/minecraft/class_4946;method_25917(Ljava/util/function/Consumer;)Lnet/minecraft/class_4946;
      named texture Lnet/minecraft/data/client/model/TexturedModel;texture(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/model/TexturedModel;
    • upload

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

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

      private static TexturedModel.Factory makeFactory(Function<Block,Texture> textureGetter, Model model)
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Ljava/util/function/Function;Ljr;)Ljv$a;
      intermediary method_25918 Lnet/minecraft/class_4946;method_25918(Ljava/util/function/Function;Lnet/minecraft/class_4942;)Lnet/minecraft/class_4946$class_4947;
      named makeFactory Lnet/minecraft/data/client/model/TexturedModel;makeFactory(Ljava/util/function/Function;Lnet/minecraft/data/client/model/Model;)Lnet/minecraft/data/client/model/TexturedModel$Factory;
    • getCubeAll

      public static TexturedModel getCubeAll(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Lyb;)Ljv;
      intermediary method_25920 Lnet/minecraft/class_4946;method_25920(Lnet/minecraft/class_2960;)Lnet/minecraft/class_4946;
      named getCubeAll Lnet/minecraft/data/client/model/TexturedModel;getCubeAll(Lnet/minecraft/util/Identifier;)Lnet/minecraft/data/client/model/TexturedModel;