Skip to content

Commit

Permalink
Correct the model loader
Browse files Browse the repository at this point in the history
The identity of the OBJ model loader inside the codebase has been changed
from "forge:obj" into "neoforge:obj" but not yet for the documentation.

Discovered by chance when handling a weird model loading issue during my
developing NeoForge mod.

Signed-off-by: src_resources <src.res.211@gmail.com>
  • Loading branch information
srcres258 committed Mar 17, 2024
1 parent 8149fe7 commit 87bd702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rendering/modelloaders/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Forge adds a loader for the `.obj` file format. To use these models, the JSON mu
```js
{
// Add the following line on the same level as a 'model' declaration
"loader": "forge:obj",
"loader": "neoforge:obj",
"flip_v": true,
"model": "examplemod:models/block/model.obj",
"textures": {
Expand Down

1 comment on commit 87bd702

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: 87bd70224c502d7c17bdba8ab92adffb60c0a8bd
Status: ✅ Deploy successful!
Preview URL: https://9f838527.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-61.neoforged-docs-previews.pages.dev

Please sign in to comment.