How do you apply a texture to a .json in block creation? :SOLVED

Started by ArcaneMortis on

Topic category: Help with modding (Java Edition)

Last seen on 22:00, 11. Nov 2019
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you apply a texture to a .json in block creation? :SOLVED
Thu, 09/29/2016 - 18:50 (edited)

Once again I'm probably asking a silly question with a simple solution, but none of the ones on the forum and the web have been satisfactory so far or were incredibly hard to follow. 

I'm trying to create a block with a custom 3D model made in Mr Crayfish Model Maker exported as a .json model, however mCreator throws a window titled "PLEASE SELECT TEXTURE" and lists three buttons (part name 1, part name 2, part name 3) that only allows you to select 3 imported textures from your mCreator workspace. 

How do I supply a texture for a .json model in block creation? And if it requires editing of the .json, could you please break it down step by step. 

edit: Im using mCreator for minecraft 1.10 btw

 

edit:

Now, after repeating the same block creation process by selecting my .json model, I used the "part name 1" etc to load the three seperate textures for my custom model, thus importing the texture.png(s) into minecraft, allowing my custom 3D model to pull the textures from the games recources.

My next question was " What if I have more than 3 textures?" to which my solution is: use larger texture sizes for your UVmapping so you have more faces per .png to map off of.

However, if you have more than 3 texture images, I believe you may have to go into the source code and do some editing since the GUI does not support selection of more than 3 textures. If I figure that out, I'll post that solution here for others as well. 

Edited by ArcaneMortis on Thu, 09/29/2016 - 18:50
Last seen on 22:44, 19. May 2021
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How exactly do you get it to
Sun, 10/02/2016 - 19:43

How exactly do you get it to do that with multiple textures? i import the textures from minecraft but they don't load up, i only get one of them out of the 3 to load.

Last seen on 22:00, 11. Nov 2019
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean by multiple
Sun, 10/02/2016 - 21:41

What do you mean by multiple textures? Multiple .png files? When you upload a .json mCreator will give you a number of empty boxes equal to the number of textures you imported into your UVmapping in your 3D model software. When you click on the empty boxes it will open mCreators imported block texture folder, with the import button at the top. You have to import the exact same images you used in your UVmapping into mCreator in this way. 

Last seen on 22:44, 19. May 2021
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes that's what i dp, but for
Sun, 10/02/2016 - 22:13

Yes that's what i dp, but for some reason, the textures load all funny. By multiple textures i mean like if i have one area being Stone Bricks and the other being Black Wool. When i put them in their repsective place, when it gets loaded into the game, it would only load in with one of the textures.

Last seen on 22:00, 11. Nov 2019
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The textures have to be
Sun, 10/02/2016 - 22:59

The textures have to be loaded in the order that corresponds with the order they appear in the .json for them to be mapped correctly by mCreator

Last seen on 03:22, 5. Sep 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:The textures have to be
Sat, 08/26/2017 - 21:09

@#4 I have tried that and it gives the texture I first selected for the model. How do you work that out?

Last seen on 18:31, 11. Nov 2019
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you know which order…
Mon, 02/05/2018 - 19:48

How do you know which order they appear in the .json?

Last seen on 01:17, 19. Jul 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you find your…
Tue, 11/05/2019 - 22:02

How do you find your UVmapping images to put into mcreator, i used mr crayfishes model creator but i dont know to add the textures i applyed from that to mcreator