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
official fdk
intermediary net/minecraft/class_613
named net/minecraft/client/render/entity/model/TridentEntityModel
  • Field Details

    • TEXTURE

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

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

    • TridentEntityModel

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

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Lfdk;a()Lfek;
      intermediary method_32059 Lnet/minecraft/class_613;method_32059()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/TridentEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • 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 Lfcb;a(Leij;Lein;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