Jump to content

[SOLVED][1.15] How to make OBJ Items


Discult

Recommended Posts

1 hour ago, Discult said:

Hello, I am just wondering how to make a obj item, mainly just wondering how to json file will be setup for this.

 

Thank you.

@Discult, i dont am a expert with json files, but i think that you can check older tutorials then the json system dont change. Example:

{
	"parent": "builtin/generated",
    "textures": {
    	"layer0": ""
    },
    "display": {
    	"thirdperson": {
        	"rotation": [-90,0,0],
            "translation": [0,1,-3],
            "scale": [0.55,0.55,0.55]
        },
        "firstperson" {
        	"rotation": [0,-135,25],
              "translation": [0,4,2],
              "scale": [1.7,1.7,1.7]        
        }
	}
}

 You can make a model in Blockbench and export it as Json File.

New in Modding? == Still learning!

Link to comment
Share on other sites

I have figured this out you simple need to add "loader": "forge:obj" to the json file.

 

 

Here is what mine looks like.

 

Spoiler

{
  "parent": "forge:item/default",
  "loader": "forge:obj",
  "model": "saomod:models/item/objs/starter/sword/starter_sword.obj",
  "flip-v": true,
  "textures": {
    "particle": "block/oak_planks"
  },
  "transform": {
    "firstperson_righthand": {
      "scale": 3.0
    }
  }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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