Class GenericSmdModel
java.lang.Object
net.minecraft.client.model.Model
com.pixelmonmod.pixelmon.client.models.blocks.GenericSmdModel
- Direct Known Subclasses:
ModelMechanicalAnvil
public class GenericSmdModel
extends net.minecraft.client.model.Model
Created by clienthax on 10/3/2015. Edited by Rasgnarok on 6/28/2018.
Converted to 1.16.5 by Waterdude on 20/11/2021.
-
Field Summary
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorDescriptionGenericSmdModel
(String basePath, String pqcPath) GenericSmdModel
(net.minecraft.resources.ResourceLocation pqcResource) -
Method Summary
Modifier and TypeMethodDescriptiongetModel()
void
void
render
(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay) 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
setFrame
(int frame) Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
modelRenderer
-
-
Constructor Details
-
GenericSmdModel
public GenericSmdModel(net.minecraft.resources.ResourceLocation pqcResource) -
GenericSmdModel
-
-
Method Details
-
reloadModel
public void reloadModel() -
getModel
-
setFrame
public void setFrame(int frame) -
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
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)
-