public class PixelmonModelRenderer
extends net.minecraft.client.renderer.model.ModelRenderer
Modifier and Type | Field and Description |
---|---|
boolean |
isHidden |
java.lang.String |
label |
java.util.ArrayList<ModelCustomWrapper> |
objs |
double |
offsetX |
double |
offsetY |
double |
offsetZ |
float |
scale |
Constructor and Description |
---|
PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model) |
PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model,
java.lang.String label) |
PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model,
java.lang.String label,
int texOffX,
int texOffY) |
Modifier and Type | Method and Description |
---|---|
void |
addCustomModel(ModelCustomWrapper model) |
net.minecraft.client.renderer.model.Model |
getModel() |
boolean |
isTransparent() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay,
float red,
float green,
float blue,
float alpha) |
protected void |
renderCustomModels(com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay,
float red,
float green,
float blue,
float alpha,
float scale,
float partialTick) |
void |
setTransparent(float transparency) |
public java.lang.String label
public java.util.ArrayList<ModelCustomWrapper> objs
public double offsetX
public double offsetY
public double offsetZ
public boolean isHidden
public float scale
public PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model, java.lang.String label)
public PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model)
public PixelmonModelRenderer(net.minecraft.client.renderer.model.Model model, java.lang.String label, int texOffX, int texOffY)
public void addCustomModel(ModelCustomWrapper model)
public void setTransparent(float transparency)
public boolean isTransparent()
public net.minecraft.client.renderer.model.Model getModel()
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
render
in class net.minecraft.client.renderer.model.ModelRenderer
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay)
render
in class net.minecraft.client.renderer.model.ModelRenderer
protected void renderCustomModels(com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha, float scale, float partialTick)