Jump to content
  • 0

Does anybody know how to import .json models from minecraft mods into mine imator in the newest version?


Message added by TopicLocker3000

This topic was automatically locked after 6 months of inactivity. If you are the topic owner, please contact a moderator to have it unlocked.

Question

9 answers to this question

Recommended Posts

  • 0
On 2/16/2022 at 9:53 PM, Entibrine303 said:

I really need help with this. I want to import a json model from a Minecraft mod into Mine imator but all it shows is NOTHING!

And if you have a way, I would like screenshots or a video or a step-by-step guide and screenshots/video.

Newest? As usual I think

First,the .json model from mods' .jar package has it's texture pathway defined by a code, when you open the .json file using the txt editor or notepad++ you can see it.

For example 

"textures": {
    "texture": "modname:block/blockname"

This code shows the path of a block's texture, but mine_imator cannot read it unless you add the path in .midata(the assets path), and if you don't want to change the assets(it's hard and complex), you can also choose change the path as below

"texture": "blockname.png",

and add the texture image blockname.png to the file of .json

then the mine_imator could read it and use the image as texture of the .json model.

That's it

Link to post
Share on other sites

  • 0
On 2/19/2022 at 11:19 AM, Orlande said:

Newest? As usual I think

First,the .json model from mods' .jar package has it's texture pathway defined by a code, when you open the .json file using the txt editor or notepad++ you can see it.

For example 

"textures": {
    "texture": "modname:block/blockname"

This code shows the path of a block's texture, but mine_imator cannot read it unless you add the path in .midata(the assets path), and if you don't want to change the assets(it's hard and complex), you can also choose change the path as below

"texture": "blockname.png",

and add the texture image blockname.png to the file of .json

then the mine_imator could read it and use the image as texture of the .json model.

That's it

Ok thanks I'll try it

Link to post
Share on other sites

  • 0
On 2/19/2022 at 11:19 AM, Orlande said:

Newest? As usual I think

First,the .json model from mods' .jar package has it's texture pathway defined by a code, when you open the .json file using the txt editor or notepad++ you can see it.

For example 

"textures": {
    "texture": "modname:block/blockname"

This code shows the path of a block's texture, but mine_imator cannot read it unless you add the path in .midata(the assets path), and if you don't want to change the assets(it's hard and complex), you can also choose change the path as below

"texture": "blockname.png",

and add the texture image blockname.png to the file of .json

then the mine_imator could read it and use the image as texture of the .json model.

That's it

Sorry, but I can't find the "textures" code. I have a model for minecraft bedrock, is it different there?

Link to post
Share on other sites

  • 0
On 2/20/2022 at 9:06 PM, Entibrine303 said:

Sorry, but I can't find the "textures" code. I have a model for minecraft bedrock, is it different there?

You can only import Java version .json model

If you want to have bedrock one you may try trans it to java version using blockbench(but I don't have tried this)

Link to post
Share on other sites

  • 0
On 2/19/2022 at 11:19 AM, Orlande said:

Newest? As usual I think

First,the .json model from mods' .jar package has it's texture pathway defined by a code, when you open the .json file using the txt editor or notepad++ you can see it.

For example 

"textures": {
    "texture": "modname:block/blockname"

This code shows the path of a block's texture, but mine_imator cannot read it unless you add the path in .midata(the assets path), and if you don't want to change the assets(it's hard and complex), you can also choose change the path as below

"texture": "blockname.png",

and add the texture image blockname.png to the file of .json

Ok I found the path in the json file and now I want you to ask: how can I change the midata and what does it do?

Or explain the "texture": "blockname.png"-method better

Edited by Entibrine303
Link to post
Share on other sites

  • 0
On 2/20/2022 at 11:47 PM, Entibrine303 said:

好的,我在json文件中找到了路径,现在我想让你问:我该如何更改midata,它有什么作用?

或者解释"纹理":"块名.png"-方法更好

Can you paste the .json in reply? Then I could see it

Link to post
Share on other sites

  • 0
On 2/21/2022 at 3:10 AM, Orlande said:

Can you paste the .json in reply? Then I could see it

Sorry for the chinese, I had a VPN active. What I actually wanted to say:

 

Ok I found the path in the json file and now I want to ask you: how can I change the midata and what does it do?

Or explain the "texture": "blockname.png"-method better

 

 

And here is the json code:

Spoiler

{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "ee:broken_heart_of_ender",
      "textures": {
        "default": "textures/entity/pamobile/ee_broken_heart_of_ender"
      },
      "materials": {
        "default": "skeleton"
      },
      "geometry": {
        "default": "geometry.ee_broken_heart_of_ender"
      },
      "render_controllers": [
        "controller.render.translucence"
      ],
      "spawn_egg": {
        "texture": "ee:broken_heart_of_ender",
        "texture_index": 0
      },
      "animations": {
        "walk": "animation.ee_broken_heart_of_ender.walk",
        "idle": "animation.ee_broken_heart_of_ender.idle",
        "mad": "animation.ee_broken_heart_of_ender.mad"
      },
      "scripts": {
        "animate": [
          "root",
          {
            "walk": "query.is_moving"
          },
          {
            "mad": "query.is_moving && query.is_angry"
          },
          {
            "idle": "!query.is_moving"
          }
        ]
      }
    }
  }
}

 

Link to post
Share on other sites

  • 0
On 2/21/2022 at 9:36 PM, Entibrine303 said:

Sorry for the chinese, I had a VPN active. What I actually wanted to say:

 

Ok I found the path in the json file and now I want to ask you: how can I change the midata and what does it do?

Or explain the "texture": "blockname.png"-method better

 

 

And here is the json code:

  Hide contents

{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "ee:broken_heart_of_ender",
      "textures": {
        "default": "textures/entity/pamobile/ee_broken_heart_of_ender"
      },
      "materials": {
        "default": "skeleton"
      },
      "geometry": {
        "default": "geometry.ee_broken_heart_of_ender"
      },
      "render_controllers": [
        "controller.render.translucence"
      ],
      "spawn_egg": {
        "texture": "ee:broken_heart_of_ender",
        "texture_index": 0
      },
      "animations": {
        "walk": "animation.ee_broken_heart_of_ender.walk",
        "idle": "animation.ee_broken_heart_of_ender.idle",
        "mad": "animation.ee_broken_heart_of_ender.mad"
      },
      "scripts": {
        "animate": [
          "root",
          {
            "walk": "query.is_moving"
          },
          {
            "mad": "query.is_moving && query.is_angry"
          },
          {
            "idle": "!query.is_moving"
          }
        ]
      }
    }
  }
}

 

This .json is not a model file

The entity is packed as .class file not .json in Minecraft and mods

You can only import blocks you find in mods in .json

But I see there may be a function to automatic import mod entity in Mi Violet

Anyway... The .json file for java version could only tell a model as a whole but entities have more than one part like legs

So all entity(like Human,Creeper...) you see in Mine-imator is .mimodel

On 2/21/2022 at 9:36 PM, Entibrine303 said:

Sorry for the chinese, I had a VPN active. What I actually wanted to say:

 

Ok I found the path in the json file and now I want to ask you: how can I change the midata and what does it do?

Or explain the "texture": "blockname.png"-method better

 

 

And here is the json code:

  Reveal hidden contents

{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "ee:broken_heart_of_ender",
      "textures": {
        "default": "textures/entity/pamobile/ee_broken_heart_of_ender"
      },
      "materials": {
        "default": "skeleton"
      },
      "geometry": {
        "default": "geometry.ee_broken_heart_of_ender"
      },
      "render_controllers": [
        "controller.render.translucence"
      ],
      "spawn_egg": {
        "texture": "ee:broken_heart_of_ender",
        "texture_index": 0
      },
      "animations": {
        "walk": "animation.ee_broken_heart_of_ender.walk",
        "idle": "animation.ee_broken_heart_of_ender.idle",
        "mad": "animation.ee_broken_heart_of_ender.mad"
      },
      "scripts": {
        "animate": [
          "root",
          {
            "walk": "query.is_moving"
          },
          {
            "mad": "query.is_moving && query.is_angry"
          },
          {
            "idle": "!query.is_moving"
          }
        ]
      }
    }
  }
}

 

On 2/21/2022 at 9:36 PM, Entibrine303 said:

Sorry for the chinese, I had a VPN active. What I actually wanted to say:

 

Ok I found the path in the json file and now I want to ask you: how can I change the midata and what does it do?

Or explain the "texture": "blockname.png"-method better

 

 

And here is the json code:

  Reveal hidden contents

{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "ee:broken_heart_of_ender",
      "textures": {
        "default": "textures/entity/pamobile/ee_broken_heart_of_ender"
      },
      "materials": {
        "default": "skeleton"
      },
      "geometry": {
        "default": "geometry.ee_broken_heart_of_ender"
      },
      "render_controllers": [
        "controller.render.translucence"
      ],
      "spawn_egg": {
        "texture": "ee:broken_heart_of_ender",
        "texture_index": 0
      },
      "animations": {
        "walk": "animation.ee_broken_heart_of_ender.walk",
        "idle": "animation.ee_broken_heart_of_ender.idle",
        "mad": "animation.ee_broken_heart_of_ender.mad"
      },
      "scripts": {
        "animate": [
          "root",
          {
            "walk": "query.is_moving"
          },
          {
            "mad": "query.is_moving && query.is_angry"
          },
          {
            "idle": "!query.is_moving"

          }
        ]
      }
    }
  }
}

 

https://www.mineimatorforums.com/index.php?/topic/87250-mineimator-violet-106-base-on-1292/

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...