Class TridentEntityModel

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

@Environment(CLIENT) public class TridentEntityModel extends Model
Represents the model of a thrown trident.
Model parts of this model
Part NameParentCorresponding Field
poleRoot part
basepole
left_spikepole
middle_spikepole
right_spikepole
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/TridentEntityModel
intermediary net/minecraft/class_613
official fxj
  • Field Details

    • TEXTURE

      public static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/render/entity/model/TridentEntityModel;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_3592 Lnet/minecraft/class_613;field_3592:Lnet/minecraft/class_2960;
      official a Lfxj;a:Lakq;
    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      named root Lnet/minecraft/client/render/entity/model/TridentEntityModel;root:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27521 Lnet/minecraft/class_613;field_27521:Lnet/minecraft/class_630;
      official b Lfxj;b:Lfye;
  • Constructor Details

    • TridentEntityModel

      public TridentEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/TridentEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
      intermediary <init> Lnet/minecraft/class_613;<init>(Lnet/minecraft/class_630;)V
      official <init> Lfxj;<init>(Lfye;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/TridentEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32059 Lnet/minecraft/class_613;method_32059()Lnet/minecraft/class_5607;
      official a Lfxj;a()Lfyk;
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int int2)
      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;III)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V
      official a Lfwa;a(Lfbc;Lfbg;III)V