Class SMDRenderer
java.lang.Object
com.pixelmonmod.pixelmon.client.render.entity.renderers.smd.SMDRenderer
This is just a place to keep the common code also used by
The usage in
SMDRenderingHandler
The usage in
AbstractPokemonRenderer
will later need
changed not to use this but instead an abstract class for clean code surrounding the block bench model stuff!-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends RenderableEntity>
com.mojang.blaze3d.vertex.VertexConsumergetVertexConsumer
(A entity, net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.MultiBufferSource buffer) static void
renderBone
(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedOverlay, int packedLight, Bone bone) static <A extends RenderableEntity>
voidrenderModel
(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData) static <A extends RenderableEntity>
voidrenderModel
(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData, ShaderParameters parameters) static <A extends RenderableEntity>
voidrenderModel
(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float red, float green, float blue, float alpha, ModelData modelData, ValveStudioModel model, ShaderParameters parameters, boolean renderAttachments)
-
Constructor Details
-
SMDRenderer
public SMDRenderer()
-
-
Method Details
-
renderModel
public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData) -
renderModel
public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData, ShaderParameters parameters) -
renderModel
public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float red, float green, float blue, float alpha, ModelData modelData, ValveStudioModel model, ShaderParameters parameters, boolean renderAttachments) -
getVertexConsumer
public static <A extends RenderableEntity> com.mojang.blaze3d.vertex.VertexConsumer getVertexConsumer(A entity, net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.MultiBufferSource buffer) -
renderBone
public static void renderBone(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedOverlay, int packedLight, Bone bone)
-