Class TridentEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.TridentEntityModel
Represents the model of a thrown trident.
| Part Name | Parent | Corresponding Field |
|---|---|---|
pole | Root part | |
base | pole | |
left_spike | pole | |
middle_spike | pole | |
right_spike | pole |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/TridentEntityModelintermediary net/minecraft/class_613official fxp
-
Field Summary
FieldsFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TexturedModelDatavoidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURELnet/minecraft/client/render/entity/model/TridentEntityModel;TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_3592Lnet/minecraft/class_613;field_3592:Lnet/minecraft/class_2960;official aLfxp;a:Lakr;
-
root
- Mappings:
Namespace Name Mixin selector named rootLnet/minecraft/client/render/entity/model/TridentEntityModel;root:Lnet/minecraft/client/model/ModelPart;intermediary field_27521Lnet/minecraft/class_613;field_27521:Lnet/minecraft/class_630;official bLfxp;b:Lfyk;
-
-
Constructor Details
-
TridentEntityModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/model/TridentEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)Vintermediary <init>Lnet/minecraft/class_613;<init>(Lnet/minecraft/class_630;)Vofficial <init>Lfxp;<init>(Lfyk;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelDataLnet/minecraft/client/render/entity/model/TridentEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;intermediary method_32059Lnet/minecraft/class_613;method_32059()Lnet/minecraft/class_5607;official aLfxp;a()Lfyq;
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.- Specified by:
renderin classModel- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)Vofficial aLfwg;a(Lfbi;Lfbm;III)V
-