Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello, I'm having some trouble getting my obj model into minecraft. 

I've got the OBJLoader.INSTANCE.addDomain(), and a json file that points to my obj file in the Item folder. The log shows no error occurred, however when I'm in the game the item model and texture is not showing up.

How do I successfully load an obj file?

For reference, here's my item .json file and some images

{
  "forge_marker": 1,
  "defaults": {
    "model": "mcaerial:plane_spawn_egg.obj"
  },
  "variants": {
    "inventory": [
      {
        "transform": {
          "thirdperson_lefthand": {
            "rotation": [ { "x": 0 }, { "y": 0 }, { "z": 0 } ],
            "translation": [ 0, -0.1, 0.1 ],
            "scale": 1
          },
          "thirdperson_righthand": {
            "rotation": [ { "x": 0 }, { "y": 0 }, { "z": 0 } ],
            "translation": [ 0, -0.1, 0.1 ],
            "scale": 1
          },
          "gui": {
            "rotation": [ { "x": 45 }, { "y": 10 }, { "z": -45 } ],
            "translation": [ -0.2, -0.2, 0 ],
            "scale": 1
          },
          "firstperson_righthand": {
            "rotation": [ { "x": 180 }, { "y": 180 }, { "z": 170 } ],
            "translation": [ 0, -0.1, 0 ],
            "scale": 1
          },
          "firstperson_lefthand": {
            "rotation": [ { "x": 180 }, { "y": 180 }, { "z": 170 } ],
            "translation": [ 0, -0.1, 0 ],
            "scale": 1
          },
          "ground": {
            "rotation": [ { "x": 45 }, { "y": 0 }, { "z": 0 } ],
            "scale": 1
          }
        }
      }
    ]
  }
}

 

Any help is appreciated!

Screen Shot 2020-07-22 at 12.15.45 PM.png

Screen Shot 2020-07-22 at 12.15.39 PM.png

Edited by apo11o_M

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.