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 ejq
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 Lejq;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 Lejq;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 Lejq;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 Lejq;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 Lejq;e:Leku;
      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 Lejq;f:Leku;
      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 Lejq;g:Leku;
      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> Lejq;<init>(Leku;)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 Lejq;a()Lela;
      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 Lejq;b()Leku;
      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 Lejq;c()Leku;
      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 Leix;a(Ldsj;Ldsn;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