Class ShieldEntityModel

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.ShieldEntityModel

@Environment(CLIENT) public class ShieldEntityModel extends Model
Represents the model of a held shield.
Model parts of this model
Part NameParentCorresponding Field
"plate"Root partplate
"handle"Root parthandle
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/ShieldEntityModel
intermediary net/minecraft/class_600
official fwh
  • Field Details

    • PLATE

      private static final String PLATE
      The key of the plate model part, whose value is "plate".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PLATE Lnet/minecraft/client/render/entity/model/ShieldEntityModel;PLATE:Ljava/lang/String;
      intermediary field_32549 Lnet/minecraft/class_600;field_32549:Ljava/lang/String;
      official a Lfwh;a:Ljava/lang/String;
    • HANDLE

      private static final String HANDLE
      The key of the handle model part, whose value is "handle".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HANDLE Lnet/minecraft/client/render/entity/model/ShieldEntityModel;HANDLE:Ljava/lang/String;
      intermediary field_32550 Lnet/minecraft/class_600;field_32550:Ljava/lang/String;
      official b Lfwh;b:Ljava/lang/String;
    • field_32551

      private static final int field_32551
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32551 Lnet/minecraft/client/render/entity/model/ShieldEntityModel;field_32551:I
      intermediary field_32551 Lnet/minecraft/class_600;field_32551:I
      official c Lfwh;c:I
    • field_32552

      private static final int field_32552
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32552 Lnet/minecraft/client/render/entity/model/ShieldEntityModel;field_32552:I
      intermediary field_32552 Lnet/minecraft/class_600;field_32552:I
      official d Lfwh;d:I
    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      named root Lnet/minecraft/client/render/entity/model/ShieldEntityModel;root:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27495 Lnet/minecraft/class_600;field_27495:Lnet/minecraft/class_630;
      official e Lfwh;e:Lfxq;
    • plate

      private final ModelPart plate
      Mappings:
      Namespace Name Mixin selector
      named plate Lnet/minecraft/client/render/entity/model/ShieldEntityModel;plate:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3550 Lnet/minecraft/class_600;field_3550:Lnet/minecraft/class_630;
      official f Lfwh;f:Lfxq;
    • handle

      private final ModelPart handle
      Mappings:
      Namespace Name Mixin selector
      named handle Lnet/minecraft/client/render/entity/model/ShieldEntityModel;handle:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3551 Lnet/minecraft/class_600;field_3551:Lnet/minecraft/class_630;
      official g Lfwh;g:Lfxq;
  • Constructor Details

    • ShieldEntityModel

      public ShieldEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/ShieldEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
      intermediary <init> Lnet/minecraft/class_600;<init>(Lnet/minecraft/class_630;)V
      official <init> Lfwh;<init>(Lfxq;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/ShieldEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32039 Lnet/minecraft/class_600;method_32039()Lnet/minecraft/class_5607;
      official a Lfwh;a()Lfxw;
    • getPlate

      public ModelPart getPlate()
      Mappings:
      Namespace Name Mixin selector
      named getPlate Lnet/minecraft/client/render/entity/model/ShieldEntityModel;getPlate()Lnet/minecraft/client/model/ModelPart;
      intermediary method_23774 Lnet/minecraft/class_600;method_23774()Lnet/minecraft/class_630;
      official b Lfwh;b()Lfxq;
    • getHandle

      public ModelPart getHandle()
      Mappings:
      Namespace Name Mixin selector
      named getHandle Lnet/minecraft/client/render/entity/model/ShieldEntityModel;getHandle()Lnet/minecraft/client/model/ModelPart;
      intermediary method_23775 Lnet/minecraft/class_600;method_23775()Lnet/minecraft/class_630;
      official c Lfwh;c()Lfxq;
    • 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 Lfvm;a(Lfao;Lfas;IIFFFF)V