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
official fgu
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 Lfgu;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 Lfgu;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 Lfgu;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 Lfgu;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 Lfgu;e:Lfic;
      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 Lfgu;f:Lfic;
      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 Lfgu;g:Lfic;
      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> Lfgu;<init>(Lfic;)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 Lfgu;a()Lfii;
      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 Lfgu;b()Lfic;
      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 Lfgu;c()Lfic;
      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 Lffz;a(Lelp;Lelt;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