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
named net/minecraft/client/render/entity/model/DragonHeadEntityModel
intermediary net/minecraft/class_626
official fwv
  • Field Details

    • jaw

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

    • DragonHeadEntityModel

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

    • getTexturedModelData

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

      public void setHeadRotation(float animationProgress, float yaw, float pitch)
      Specified by:
      setHeadRotation in class SkullBlockEntityModel
      Mappings:
      Namespace Name Mixin selector
      named setHeadRotation Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;setHeadRotation(FFF)V
      intermediary method_2821 Lnet/minecraft/class_5598;method_2821(FFF)V
      official a Lfvy;a(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
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      official a Lfux;a(Lezz;Lfad;IIFFFF)V