MinecraftForge / Documentation

Read the docs MinecraftForge documentation
MIT License
458 stars 194 forks source link

1.15.x refers to obsolete OBJLoader.addDomain() #369

Closed LemADEC closed 3 years ago

LemADEC commented 3 years ago

As seen here: https://mcforge.readthedocs.io/en/1.15.x/models/files/#wavefront-obj-models , we're supposed to use OBJLoader.addDomain to register our namespace where WaveFront object support will be added. This doesn't apply since 1.15.x, instead we should add a loader entry to the model's json file, like so:

{
    "parent": "block/cube_all",
    "loader": "forge:obj",
    "model": "yournamespace:models/block/xxx/yyy.obj"
}
ChampionAsh5357 commented 3 years ago

Already referenced by #283. The entire files page needs to be rewritten to support the current model loader system. You're welcome to rewrite and supply this to the omnibus.

ChampionAsh5357 commented 3 years ago

Merged into omnibus #364.