Class DragonHeadEntityModel


@Environment(CLIENT) public class DragonHeadEntityModel extends SkullBlockEntityModel
Represents the model of the dragon head.
Model parts of this model
Part NameParentCorresponding Field
"head"Root parthead
"jaw""head"jaw
Mappings:
Namespace Name
official esp
intermediary net/minecraft/class_626
named net/minecraft/client/render/entity/model/DragonHeadEntityModel
  • Field Details

    • jaw

      private final ModelPart jaw
      Mappings:
      Namespace Name Mixin selector
      official b Lesp;b:Lesv;
      intermediary field_3639 Lnet/minecraft/class_626;field_3639:Lnet/minecraft/class_630;
      named jaw Lnet/minecraft/client/render/entity/model/DragonHeadEntityModel;jaw:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • DragonHeadEntityModel

      public DragonHeadEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesp;<init>(Lesv;)V
      intermediary <init> Lnet/minecraft/class_626;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/DragonHeadEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Lesp;a()Letb;
      intermediary method_32071 Lnet/minecraft/class_626;method_32071()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/DragonHeadEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • setHeadRotation

      public void setHeadRotation(float animationProgress, float yaw, float pitch)
      Specified by:
      setHeadRotation in class SkullBlockEntityModel
      Mappings:
      Namespace Name Mixin selector
      official a Lerv;a(FFF)V
      intermediary method_2821 Lnet/minecraft/class_5598;method_2821(FFF)V
      named setHeadRotation Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;setHeadRotation(FFF)V
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
      Renders the model.
      Specified by:
      render in class Model
      Parameters:
      light - the lightmap coordinates used for this model rendering
      Mappings:
      Namespace Name Mixin selector
      official a Leqw;a(Ldzt;Ldzx;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V