Class ModelCustomWrapper
java.lang.Object
com.pixelmonmod.pixelmon.client.models.ModelCustomWrapper
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelCustomWrapper
(net.minecraft.client.model.Model m) ModelCustomWrapper
(net.minecraft.client.model.Model m, float x, float y, float z) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int light, int overlay, float red, float green, float blue, float alpha, float scale) setOffsets
(float x, float y, float z)
-
Field Details
-
model
public net.minecraft.client.model.Model model
-
-
Constructor Details
-
ModelCustomWrapper
public ModelCustomWrapper(net.minecraft.client.model.Model m) -
ModelCustomWrapper
public ModelCustomWrapper(net.minecraft.client.model.Model m, float x, float y, float z)
-
-
Method Details
-
setOffsets
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int light, int overlay, float red, float green, float blue, float alpha, float scale)
-