Class SmdModel
java.lang.Object
com.pixelmonmod.pixelmon.client.models.smd.SmdModel
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetBoneByName(String name) voidrender(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) voidsetAnimation(SmdAnimation anim)
-
Field Details
-
owner
-
faces
-
verts
-
bones
-
currentAnim
-
root
-
-
Method Details
-
setAnimation
-
getBoneByName
- Parameters:
name- - The name of the Bone contained within this model. (can be seen in the original SMD file)- Returns:
- The Bone with the input
nameornullif a Bone with such a name does not exist.
-
currentFrame
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color)
-