Class ValveStudioModel
java.lang.Object
net.minecraft.client.model.Model
com.pixelmonmod.pixelmon.client.models.smd.ValveStudioModel
- Direct Known Subclasses:
TCGValveStudioModel
public class ValveStudioModel
extends net.minecraft.client.model.Model
-
Field Summary
FieldsModifier and TypeFieldDescriptionintnet.minecraft.resources.ResourceLocationFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
ConstructorsConstructorDescriptionValveStudioModel(ModelData modelData, net.minecraft.resources.ResourceLocation resource) ValveStudioModel(net.minecraft.resources.ResourceLocation resource) -
Method Summary
Modifier and TypeMethodDescriptionvoidanimate()net.minecraft.resources.ResourceLocationgetResource(String fileName) floatgetScale()booleanvoidrenderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) voidsetAnimation(AnimationType animType) voidsetupAnimation(AnimationType animationType, IncrementingVariable variable) Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
body
-
currentSequence
-
resource
public net.minecraft.resources.ResourceLocation resource -
anims
-
renderCount
public int renderCount
-
-
Constructor Details
-
ValveStudioModel
public ValveStudioModel(net.minecraft.resources.ResourceLocation resource) throws GabeNewellException - Throws:
GabeNewellException
-
ValveStudioModel
public ValveStudioModel(ModelData modelData, net.minecraft.resources.ResourceLocation resource) throws GabeNewellException - Throws:
GabeNewellException
-
-
Method Details
-
getScale
public float getScale() -
hasAnimations
public boolean hasAnimations() -
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-
setupAnimation
-
animate
public void animate() -
setAnimation
-
getCurrentAnimation
-
getResource
-