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 an held shield.
Model parts of this model
Part NameParentCorresponding Field
"plate"Root partplate
"handle"Root parthandle
Mappings:
Namespace Name
official ejd
intermediary net/minecraft/class_600
named net/minecraft/client/render/entity/model/ShieldEntityModel
  • 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
      official a Lejd;a:Ljava/lang/String;
      intermediary field_32549 Lnet/minecraft/class_600;field_32549:Ljava/lang/String;
      named PLATE Lnet/minecraft/client/render/entity/model/ShieldEntityModel;PLATE: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
      official b Lejd;b:Ljava/lang/String;
      intermediary field_32550 Lnet/minecraft/class_600;field_32550:Ljava/lang/String;
      named HANDLE Lnet/minecraft/client/render/entity/model/ShieldEntityModel;HANDLE:Ljava/lang/String;
    • field_32551

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

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

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

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

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

    • ShieldEntityModel

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

    • getTexturedModelData

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

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

      public ModelPart getHandle()
      Mappings:
      Namespace Name Mixin selector
      official c Lejd;c()Lekh;
      intermediary method_23775 Lnet/minecraft/class_600;method_23775()Lnet/minecraft/class_630;
      named getHandle Lnet/minecraft/client/render/entity/model/ShieldEntityModel;getHandle()Lnet/minecraft/client/model/ModelPart;
    • 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 Leik;a(Ldrw;Ldsa;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