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
Modifier and TypeFieldDescriptionint
net.minecraft.resources.ResourceLocation
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorDescriptionValveStudioModel
(ModelData modelData, net.minecraft.resources.ResourceLocation resource) ValveStudioModel
(net.minecraft.resources.ResourceLocation resource) -
Method Summary
Modifier and TypeMethodDescriptionvoid
animate()
net.minecraft.resources.ResourceLocation
getResource
(String fileName) float
getScale()
boolean
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) void
setAnimation
(AnimationType animType) void
setupAnimation
(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:
renderToBuffer
in classnet.minecraft.client.model.Model
-
setupAnimation
-
animate
public void animate() -
setAnimation
-
getResource
-