Class ObjModel
java.lang.Object
team.lodestar.lodestone.systems.model.obj.ObjModel
- Direct Known Subclasses:
MultiLODModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidrenderModel(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.RenderType renderType, int packedLight) Renders the model.
-
Field Details
-
faces
-
modelLocation
public net.minecraft.resources.ResourceLocation modelLocation -
objParser
-
-
Constructor Details
-
ObjModel
public ObjModel(net.minecraft.resources.ResourceLocation modelLocation)
-
-
Method Details
-
loadModel
public void loadModel() -
renderModel
public void renderModel(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.RenderType renderType, int packedLight) Renders the model.- Parameters:
poseStack- The pose stack.renderType- The render type.packedLight- The packed light.
-