Help the weapon im making is just a purple and black block can someone tell me what is going on

Started by AaronGaming147 on

Topic category: Help with modding (Java Edition)

Last seen on 02:52, 10. Oct 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help the weapon im making is just a purple and black block can someone tell me what is going on

its a json file from block bench and the texture is 1000 by 1000 i don't know if the texture side is doing it 

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it's showing up as back…
Tue, 09/26/2023 - 03:22

If it's showing up as back and purple, then something in the json or some part of the way the image files are set up is incorrect. It may be as simple as a missing bracket or comma. Can you share a screenshot of the json?

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
texture files need to be…
Wed, 09/27/2023 - 01:10

texture files need to be multiples of 16x16. so 1024x1024 or 1008x1008 or 992. Same goes with textures made in blockbench. 

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have textures in mine that…
Wed, 09/27/2023 - 02:40

I have textures in mine that are not multiples of 16x16 and they load fine.

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@stitch are you sure they…
Wed, 09/27/2023 - 06:05

@stitch are you sure they aren't? I;e what is your texture files. I can tell you. But thats the only thing I know that can break it. or they used a parent name on the blockbench without a parent

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One if them is 30x30, the…
Wed, 09/27/2023 - 11:53

One if them is 30x30, the other is 16x18. For the 16x18, I had modified the .json, not sure if this was needed, but I had added in right under "Parent"

"parent": "item/handheld",
"texture_size": [16, 18],
Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This was for MCreator 2023.2…
Wed, 09/27/2023 - 11:54

This was for MCreator 2023.2 1.19.2

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Stitch147 yep. needed to…
Wed, 09/27/2023 - 18:50

@Stitch147 yep. needed to modify the json. and weird the 30x30 worked. 

AaronGaming147 Try either changing texture size to a multiple of 16, or by modifying the json like @Stitch147 did and have him explain how. This should work. 

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You will have to lock the…
Wed, 09/27/2023 - 19:19

You will have to lock the code, then in the item.json add in the "texture_size" as shown below:

You do not have to modify the parent, it's just there for reference of where to put the texture size code.

"parent": "item/handheld",
"texture_size": [16, 18],