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 fwv
  • 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 Lfwv;a:Lakk;
    • 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 Lfwv;b:Lfxq;
  • 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> Lfwv;<init>(Lfxq;)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 Lfwv;a()Lfxw;
    • 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