Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.11.2] [SOLVED] Textures not rendering for custom model

Featured Replies

Posted

I made a custom model using MrCrayfish's modeler, and I can't seem to get the texutres working. The model works, all textures are just the black/purple box.

There are no errors in the console.

All textures are in the correct folder, I know that because the break particle texture is correct.

This is my model:

{
    "textures": {
	"particle"	: "forgottenitems:blocks/base_down"
    },
    "elements": [
        {
            "name": "Base",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 16.0, 3.0, 16.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_side", "uv": [ 0.0, 0.0, 16.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_side", "uv": [ 0.0, 0.0, 16.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_side", "uv": [ 0.0, 0.0, 16.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_side", "uv": [ 0.0, 0.0, 16.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        },
        {
            "name": "Edge1",
            "from": [ 0.0, 3.0, 0.0 ], 
            "to": [ 1.0, 6.0, 1.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Edge2",
            "from": [ 15.0, 3.0, 0.0 ], 
            "to": [ 16.0, 6.0, 1.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Edge3",
            "from": [ 15.0, 3.0, 15.0 ], 
            "to": [ 16.0, 6.0, 16.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Edge4",
            "from": [ 0.0, 3.0, 15.0 ], 
            "to": [ 1.0, 6.0, 16.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Center1",
            "from": [ 1.0, 3.0, 1.0 ], 
            "to": [ 15.0, 6.0, 15.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 3.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 3.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 3.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 3.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 14.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 14.0, 14.0 ] }
            }
        },
        {
            "name": "Center2",
            "from": [ 0.0, 6.0, 0.0 ], 
            "to": [ 16.0, 12.0, 16.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 6.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 6.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 6.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 6.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 12.0, 2.0 ], 
            "to": [ 14.0, 13.0, 14.0 ], 
            "faces": {
                "north": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
                "east": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
                "south": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
                "west": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
                "up": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 12.0 ] },
                "down": { "texture": "forgottenitems:blocks/base_down", "uv": [ 0.0, 0.0, 12.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 13.0, 4.0 ], 
            "to": [ 12.0, 14.0, 12.0 ], 
            "faces": {
                "north": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "east": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "south": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "west": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "up": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 8.0 ] },
                "down": { "texture": "blocks/beacon", "uv": [ 0.0, 0.0, 8.0, 8.0 ] }
            }
        }
    ]
}

 

Edited by Tschipp

  • Author

Well, seems like all I had to do is make it a submodel of something... It works now!

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.