public class ValveStudioModel
extends net.minecraft.client.renderer.model.Model
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<AnimationType,SmdAnimationSequence> |
anims |
SmdModel |
body |
SmdAnimationSequence |
currentSequence |
static boolean |
debugModel |
boolean |
hasChanged |
protected java.lang.String |
materialPath |
boolean |
overrideSmoothShading |
net.minecraft.util.ResourceLocation |
resource |
protected Bone |
root |
protected boolean |
usesMaterials |
Constructor and Description |
---|
ValveStudioModel(net.minecraft.util.ResourceLocation resource) |
ValveStudioModel(net.minecraft.util.ResourceLocation resource,
boolean overrideSmoothShading) |
ValveStudioModel(ValveStudioModel model) |
Modifier and Type | Method and Description |
---|---|
void |
animate() |
net.minecraft.util.ResourceLocation |
getResource(java.lang.String fileName) |
float |
getScale() |
boolean |
hasAnimations() |
static void |
print(java.lang.Object o)
Shorthand for System.out.println(Object).
|
void |
renderToBuffer(com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay,
float red,
float green,
float blue,
float alpha) |
void |
resetVerts(SmdModel model) |
void |
setAnimation(AnimationType animType) |
public static boolean debugModel
public SmdModel body
protected Bone root
public SmdAnimationSequence currentSequence
public net.minecraft.util.ResourceLocation resource
public boolean overrideSmoothShading
public boolean hasChanged
public java.util.HashMap<AnimationType,SmdAnimationSequence> anims
protected java.lang.String materialPath
protected boolean usesMaterials
public ValveStudioModel(ValveStudioModel model)
public ValveStudioModel(net.minecraft.util.ResourceLocation resource, boolean overrideSmoothShading) throws GabeNewellException
GabeNewellException
public ValveStudioModel(net.minecraft.util.ResourceLocation resource) throws GabeNewellException
GabeNewellException
public float getScale()
public boolean hasAnimations()
public void renderToBuffer(com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
renderToBuffer
in class net.minecraft.client.renderer.model.Model
public void animate()
public void setAnimation(AnimationType animType)
public void resetVerts(SmdModel model)
public static void print(java.lang.Object o)
ValveStudioModel.debugModel
is false
public net.minecraft.util.ResourceLocation getResource(java.lang.String fileName)