.JSON problem with texture (renders black and purple)

Started by EF5_Tornado on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 13:21, 13. Sep 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
.JSON problem with texture (renders black and purple)

I was trying to make a custom item, and the textures are not working. I followed the guide on how to fix it, and it did not fix. I think something is wrong with the .json code.

Here is the code:

[

    {

        "image": {

            "name": "https:\/\/theonlineconverter.com\/uploads\/knifekitchen_1663037175703.png",

            "format": "PNG",

            "formatDescription": "Portable Network Graphics",

            "mimeType": "image\/png",

            "class": "DirectClass",

            "geometry": {

                "width": 512,

                "height": 512,

                "x": 1,

                "y": 1

            },

            "units": "Undefined",

            "type": "TrueColorAlpha",

            "endianess": "Undefined",

            "colorspace": "sRGB",

            "depth": 8,

            "baseDepth": 8,

            "channelDepth": {

                "alpha": 8,

                "red": 8,

                "green": 8,

                "blue": 8

            },

            "pixels": 262144,

            "imageStatistics": {

                "all": {

                    "min": 0,

                    "max": 255,

                    "mean": 23.63,

                    "standardDeviation": 15658,

                    "kurtosis": 6.56261,

                    "skewness": 2.80089,

                    "entropy": 0.193092

                }

            },

            "channelStatistics": {

                "alpha": {

                    "min": 255,

                    "max": 0,

                    "mean": 214.343,

                    "standardDeviation": 23982.4,

                    "kurtosis": 1.46277,

                    "skewness": 1.86058,

                    "entropy": 0.0916501

                },

                "red": {

                    "min": 0,

                    "max": 255,

                    "mean": 20.0724,

                    "standardDeviation": 13667.6,

                    "kurtosis": 6.86156,

                    "skewness": 2.77466,

                    "entropy": 0.230666

                },

                "green": {

                    "min": 0,

                    "max": 255,

                    "mean": 17.1477,

                    "standardDeviation": 12521.4,

                    "kurtosis": 10.4052,

                    "skewness": 3.26053,

                    "entropy": 0.225093

                },

                "blue": {

                    "min": 0,

                    "max": 255,

                    "mean": 16.6427,

                    "standardDeviation": 12460.6,

                    "kurtosis": 10.9113,

                    "skewness": 3.33475,

                    "entropy": 0.224958

                }

            },

            "alpha": "#00000000",

            "renderingIntent": "Perceptual",

            "gamma": 0.45455,

            "chromaticity": {

                "redPrimary": {

                    "x": 0.64,

                    "y": 0.33

                },

                "greenPrimary": {

                    "x": 0.3,

                    "y": 0.6

                },

                "bluePrimary": {

                    "x": 0.15,

                    "y": 0.06

                },

                "whitePrimary": {

                    "x": 0.3127,

                    "y": 0.329

                }

            },

            "backgroundColor": "#FFFFFFFF",

            "borderColor": "#DFDFDFFF",

            "matteColor": "#BDBDBDFF",

            "transparentColor": "#00000000",

            "interlace": "None",

            "intensity": "Undefined",

            "compose": "Over",

            "pageGeometry": {

                "width": 512,

                "height": 512,

                "x": 0,

                "y": 0

            },

            "dispose": "Undefined",

            "iterations": 0,

            "compression": "Zip",

            "orientation": "Undefined",

            "properties": {

                "date:create": "2022-09-13T02:46:15+00:00",

                "date:modify": "2022-09-13T02:46:15+00:00",

                "png:cHRM": "chunk was found (see Chromaticity, above)",

                "png:gAMA": "gamma=0.45455 (See Gamma, above)",

                "png:IHDR.bit-depth-orig": "8",

                "png:IHDR.bit_depth": "8",

                "png:IHDR.color-type-orig": "6",

                "png:IHDR.color_type": "6 (RGBA)",

                "png:IHDR.interlace_method": "0 (Not interlaced)",

                "png:IHDR.width,height": "512, 512",

                "png:sRGB": "intent=0 (Perceptual Intent)",

                "signature": "18c9df65c91fe14163e6279175713ed0109ec6d75e3a48bfd78f5f194416b7e1"

            },

            "artifacts": {

                "filename": "https:\/\/theonlineconverter.com\/uploads\/knifekitchen_1663037175703.png"

            },

            "tainted": false,

            "filesize": "0B",

            "numberPixels": "262144",

            "pixelsPerSecond": "26.2144MB",

            "userTime": "0.010u",

            "elapsedTime": "0:01.009",

            "version": "ImageMagick 6.9.10-23 Q16 x86_64 20190101 https:\/\/imagemagick.org"

        }

    }

]

Any help would be appreciated.