Class TexturedModel

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

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

    • CUBE_ALL

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

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

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

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

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

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

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

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

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

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

      public static final TexturedModel.Factory MOSSY_CARPET_SIDE
      Mappings:
      Namespace Name Mixin selector
      named MOSSY_CARPET_SIDE Lnet/minecraft/data/client/TexturedModel;MOSSY_CARPET_SIDE:Lnet/minecraft/data/client/TexturedModel$Factory;
      intermediary field_54879 Lnet/minecraft/class_4946;field_54879:Lnet/minecraft/class_4946$class_4947;
      official k Lov;k:Lov$a;
    • FLOWERBED_1

      public static final TexturedModel.Factory FLOWERBED_1
      Mappings:
      Namespace Name Mixin selector
      named FLOWERBED_1 Lnet/minecraft/data/client/TexturedModel;FLOWERBED_1:Lnet/minecraft/data/client/TexturedModel$Factory;
      intermediary field_42952 Lnet/minecraft/class_4946;field_42952:Lnet/minecraft/class_4946$class_4947;
      official l Lov;l:Lov$a;
    • FLOWERBED_2

      public static final TexturedModel.Factory FLOWERBED_2
      Mappings:
      Namespace Name Mixin selector
      named FLOWERBED_2 Lnet/minecraft/data/client/TexturedModel;FLOWERBED_2:Lnet/minecraft/data/client/TexturedModel$Factory;
      intermediary field_42953 Lnet/minecraft/class_4946;field_42953:Lnet/minecraft/class_4946$class_4947;
      official m Lov;m:Lov$a;
    • FLOWERBED_3

      public static final TexturedModel.Factory FLOWERBED_3
      Mappings:
      Namespace Name Mixin selector
      named FLOWERBED_3 Lnet/minecraft/data/client/TexturedModel;FLOWERBED_3:Lnet/minecraft/data/client/TexturedModel$Factory;
      intermediary field_42954 Lnet/minecraft/class_4946;field_42954:Lnet/minecraft/class_4946$class_4947;
      official n Lov;n:Lov$a;
    • FLOWERBED_4

      public static final TexturedModel.Factory FLOWERBED_4
      Mappings:
      Namespace Name Mixin selector
      named FLOWERBED_4 Lnet/minecraft/data/client/TexturedModel;FLOWERBED_4:Lnet/minecraft/data/client/TexturedModel$Factory;
      intermediary field_42955 Lnet/minecraft/class_4946;field_42955:Lnet/minecraft/class_4946$class_4947;
      official o Lov;o:Lov$a;
    • TEMPLATE_GLAZED_TERRACOTTA

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

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

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

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

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

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

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

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

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

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

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

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

      private final TextureMap textures
      Mappings:
      Namespace Name Mixin selector
      named textures Lnet/minecraft/data/client/TexturedModel;textures:Lnet/minecraft/data/client/TextureMap;
      intermediary field_23058 Lnet/minecraft/class_4946;field_23058:Lnet/minecraft/class_4944;
      official B Lov;B:Lot;
    • model

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

    • TexturedModel

      private TexturedModel(TextureMap textures, Model model)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/TexturedModel;<init>(Lnet/minecraft/data/client/TextureMap;Lnet/minecraft/data/client/Model;)V
      intermediary <init> Lnet/minecraft/class_4946;<init>(Lnet/minecraft/class_4944;Lnet/minecraft/class_4942;)V
      official <init> Lov;<init>(Lot;Lor;)V
  • Method Details

    • getModel

      public Model getModel()
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/data/client/TexturedModel;getModel()Lnet/minecraft/data/client/Model;
      intermediary method_25914 Lnet/minecraft/class_4946;method_25914()Lnet/minecraft/class_4942;
      official a Lov;a()Lor;
    • getTextures

      public TextureMap getTextures()
      Mappings:
      Namespace Name Mixin selector
      named getTextures Lnet/minecraft/data/client/TexturedModel;getTextures()Lnet/minecraft/data/client/TextureMap;
      intermediary method_25921 Lnet/minecraft/class_4946;method_25921()Lnet/minecraft/class_4944;
      official b Lov;b()Lot;
    • textures

      public TexturedModel textures(Consumer<TextureMap> texturesConsumer)
      Mappings:
      Namespace Name Mixin selector
      named textures Lnet/minecraft/data/client/TexturedModel;textures(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/TexturedModel;
      intermediary method_25917 Lnet/minecraft/class_4946;method_25917(Ljava/util/function/Consumer;)Lnet/minecraft/class_4946;
      official a Lov;a(Ljava/util/function/Consumer;)Lov;
    • upload

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

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

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

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