Skip to content

MeguminKato/RotaryModelTranformer

Repository files navigation

RotaryModelTranformer

适用于将 1.7.10 RotaryCraft 模型转换至 forge[1.18] 模型的转换器


1. 启动converter.html

2. 将原版代码复制到网页上端文本框

3. 点击run

4. ModelPart 等变量复制到class中

5.

public static MeshDefinition createBodyLayer() {
        var mesh = new MeshDefinition();
        var partdefinition = mesh.getRoot();
        
        ... model code
        
        return mesh;
}

6.

ResourceLocation name = !!!model name!!! ;
ModelLayerLocation modelLayerLocation = ModModelLayers.make(name.getPath(),"main");
modelconsumer.accept(modelLayerLocation, () -> LayerDefinition.create(!!! createBodyLayer() !!!, texW, texH));
ModModelLayers.layers.put(name,modelLayerLocation);


7. enjoy your model :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published