Class TexturedModelData

java.lang.Object
net.minecraft.client.model.TexturedModelData

@Environment(CLIENT) public class TexturedModelData extends Object
Mappings:
Namespace Name
official ela
intermediary net/minecraft/class_5607
named net/minecraft/client/model/TexturedModelData
  • Field Details

    • data

      private final ModelData data
      Mappings:
      Namespace Name Mixin selector
      official a Lela;a:Lelc;
      intermediary field_27723 Lnet/minecraft/class_5607;field_27723:Lnet/minecraft/class_5609;
      named data Lnet/minecraft/client/model/TexturedModelData;data:Lnet/minecraft/client/model/ModelData;
    • dimensions

      private final TextureDimensions dimensions
      Mappings:
      Namespace Name Mixin selector
      official b Lela;b:Lelb;
      intermediary field_27724 Lnet/minecraft/class_5607;field_27724:Lnet/minecraft/class_5608;
      named dimensions Lnet/minecraft/client/model/TexturedModelData;dimensions:Lnet/minecraft/client/model/TextureDimensions;
  • Constructor Details

    • TexturedModelData

      private TexturedModelData(ModelData data, TextureDimensions dimensions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lela;<init>(Lelc;Lelb;)V
      intermediary <init> Lnet/minecraft/class_5607;<init>(Lnet/minecraft/class_5609;Lnet/minecraft/class_5608;)V
      named <init> Lnet/minecraft/client/model/TexturedModelData;<init>(Lnet/minecraft/client/model/ModelData;Lnet/minecraft/client/model/TextureDimensions;)V
  • Method Details

    • createModel

      public ModelPart createModel()
      Mappings:
      Namespace Name Mixin selector
      official a Lela;a()Leku;
      intermediary method_32109 Lnet/minecraft/class_5607;method_32109()Lnet/minecraft/class_630;
      named createModel Lnet/minecraft/client/model/TexturedModelData;createModel()Lnet/minecraft/client/model/ModelPart;
    • of

      public static TexturedModelData of(ModelData partData, int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lela;a(Lelc;II)Lela;
      intermediary method_32110 Lnet/minecraft/class_5607;method_32110(Lnet/minecraft/class_5609;II)Lnet/minecraft/class_5607;
      named of Lnet/minecraft/client/model/TexturedModelData;of(Lnet/minecraft/client/model/ModelData;II)Lnet/minecraft/client/model/TexturedModelData;