Class MultiLODModel
java.lang.Object
team.lodestar.lodestone.systems.model.obj.ObjModel
team.lodestar.lodestone.systems.model.obj.lod.MultiLODModel
- All Implemented Interfaces:
LevelOfDetailBuilder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class team.lodestar.lodestone.systems.model.obj.ObjModel
faces, modelLocation -
Constructor Summary
ConstructorsConstructorDescriptionMultiLODModel(LODStrategy lodStrategy, MultiLODModel.LevelOfDetailBuilderSetup setup) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(float argument, net.minecraft.resources.ResourceLocation modelLocation) voidvoidrenderModel(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight) Renders the model.
-
Constructor Details
-
MultiLODModel
-
-
Method Details
-
create
public void create(float argument, net.minecraft.resources.ResourceLocation modelLocation) - Specified by:
createin interfaceLevelOfDetailBuilder
-
loadModel
public void loadModel() -
renderModel
public void renderModel(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight) Description copied from class:ObjModelRenders the model.- Overrides:
renderModelin classObjModel- Parameters:
poseStack- The pose stack.buffer- The vertex consumer.packedLight- The packed light. 0-255;
-