Jump to content

1.12.2) Custom Block Model Offset?


xxWhatsherfacex

Recommended Posts

I'm having some trouble with a custom block model I made using Ichun's Tabula. As per the screenshot included, the block is offset. I'm not exactly sure what the fix is, but I've narrowed it down to the .json file...(I think?) Any help would be greatly appreciated. I'm pretty stumped right now. Thanks! ❤️

 

image.thumb.png.3a645f6aa388c0862386db29b88956de.png

 
 
 
 
Spoiler

{   "__comment": "SugarMoldBlock - Undefined, created using Tabula 7.0.1",
    "parent": "minecraft:block/block",
    "ambientocclusion": false,
    "textures": {
        "particle": "homemade:blocks/sugar_mold_block"
    },
    "elements": [
        {   "__comment": "Back",
            "from": [ -6, 2, 6 ],
            "to": [ 6, 8, 8 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 15.5, 9.5, 12.5, 10.0 ], "texture": "#particle" },
                "up":  { "uv": [ 12.5, 10.0, 9.5, 9.5 ], "texture": "#particle" },
                "north":  { "uv": [ 9.5, 10.0, 12.5, 11.5 ], "texture": "#particle" },
                "south":  { "uv": [ 13.0, 10.0, 16.0, 11.5 ], "texture": "#particle" },
                "west":  { "uv": [ 12.5, 10.0, 13.0, 11.5 ], "texture": "#particle" },
                "east":  { "uv": [ 9.0, 10.0, 9.5, 11.5 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Center1",
            "from": [ -1, 2, 1 ],
            "to": [ 1, 8, 6 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 7.25, 7.0, 6.75, 8.25 ], "texture": "#particle" },
                "up":  { "uv": [ 6.75, 8.25, 6.25, 7.0 ], "texture": "#particle" },
                "north":  { "uv": [ 6.25, 8.25, 6.75, 9.75 ], "texture": "#particle" },
                "south":  { "uv": [ 8.0, 8.25, 8.5, 9.75 ], "texture": "#particle" },
                "west":  { "uv": [ 6.75, 8.25, 8.0, 9.75 ], "texture": "#particle" },
                "east":  { "uv": [ 5.0, 8.25, 6.25, 9.75 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Base",
            "from": [ -8, 0, -8 ],
            "to": [ 8, 2, 8 ],
            "rotation": {
                "origin": [ 0, 2, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 12.0, 11.5, 8.0, 15.5 ], "texture": "#particle" },
                "up":  { "uv": [ 8.0, 15.5, 4.0, 11.5 ], "texture": "#particle" },
                "north":  { "uv": [ 4.0, 15.5, 8.0, 16.0 ], "texture": "#particle" },
                "south":  { "uv": [ 12.0, 15.5, 16.0, 16.0 ], "texture": "#particle" },
                "west":  { "uv": [ 8.0, 15.5, 12.0, 16.0 ], "texture": "#particle" },
                "east":  { "uv": [ 0.0, 15.5, 4.0, 16.0 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Sugar2",
            "from": [ -6, 2, 1 ],
            "to": [ -1, 7, 6 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 14.75, 6.75, 13.5, 8.0 ], "texture": "#particle" },
                "up":  { "uv": [ 13.5, 8.0, 12.25, 6.75 ], "texture": "#particle" },
                "north":  { "uv": [ 12.25, 8.0, 13.5, 9.25 ], "texture": "#particle" },
                "south":  { "uv": [ 14.75, 8.0, 16.0, 9.25 ], "texture": "#particle" },
                "west":  { "uv": [ 13.5, 8.0, 14.75, 9.25 ], "texture": "#particle" },
                "east":  { "uv": [ 11.0, 8.0, 12.25, 9.25 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Center",
            "from": [ -6, 2, -1 ],
            "to": [ 6, 8, 1 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 15.5, 9.5, 12.5, 10.0 ], "texture": "#particle" },
                "up":  { "uv": [ 12.5, 10.0, 9.5, 9.5 ], "texture": "#particle" },
                "north":  { "uv": [ 9.5, 10.0, 12.5, 11.5 ], "texture": "#particle" },
                "south":  { "uv": [ 13.0, 10.0, 16.0, 11.5 ], "texture": "#particle" },
                "west":  { "uv": [ 12.5, 10.0, 13.0, 11.5 ], "texture": "#particle" },
                "east":  { "uv": [ 9.0, 10.0, 9.5, 11.5 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Sugar1",
            "from": [ -6, 2, -6 ],
            "to": [ -1, 7, -1 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 14.75, 6.75, 13.5, 8.0 ], "texture": "#particle" },
                "up":  { "uv": [ 13.5, 8.0, 12.25, 6.75 ], "texture": "#particle" },
                "north":  { "uv": [ 12.25, 8.0, 13.5, 9.25 ], "texture": "#particle" },
                "south":  { "uv": [ 14.75, 8.0, 16.0, 9.25 ], "texture": "#particle" },
                "west":  { "uv": [ 13.5, 8.0, 14.75, 9.25 ], "texture": "#particle" },
                "east":  { "uv": [ 11.0, 8.0, 12.25, 9.25 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Left",
            "from": [ 6, 2, -8 ],
            "to": [ 8, 8, 8 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 5.0, 6.0, 4.5, 10.0 ], "texture": "#particle" },
                "up":  { "uv": [ 4.5, 10.0, 4.0, 6.0 ], "texture": "#particle" },
                "north":  { "uv": [ 4.0, 10.0, 4.5, 11.5 ], "texture": "#particle" },
                "south":  { "uv": [ 8.5, 10.0, 9.0, 11.5 ], "texture": "#particle" },
                "west":  { "uv": [ 4.5, 10.0, 8.5, 11.5 ], "texture": "#particle" },
                "east":  { "uv": [ 0.0, 10.0, 4.0, 11.5 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Front",
            "from": [ -6, 2, -8 ],
            "to": [ 6, 8, -6 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 15.5, 9.5, 12.5, 10.0 ], "texture": "#particle" },
                "up":  { "uv": [ 12.5, 10.0, 9.5, 9.5 ], "texture": "#particle" },
                "north":  { "uv": [ 9.5, 10.0, 12.5, 11.5 ], "texture": "#particle" },
                "south":  { "uv": [ 13.0, 10.0, 16.0, 11.5 ], "texture": "#particle" },
                "west":  { "uv": [ 12.5, 10.0, 13.0, 11.5 ], "texture": "#particle" },
                "east":  { "uv": [ 9.0, 10.0, 9.5, 11.5 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Sugar3",
            "from": [ 1, 2, -6 ],
            "to": [ 6, 7, -1 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 14.75, 6.75, 13.5, 8.0 ], "texture": "#particle" },
                "up":  { "uv": [ 13.5, 8.0, 12.25, 6.75 ], "texture": "#particle" },
                "north":  { "uv": [ 12.25, 8.0, 13.5, 9.25 ], "texture": "#particle" },
                "south":  { "uv": [ 14.75, 8.0, 16.0, 9.25 ], "texture": "#particle" },
                "west":  { "uv": [ 13.5, 8.0, 14.75, 9.25 ], "texture": "#particle" },
                "east":  { "uv": [ 11.0, 8.0, 12.25, 9.25 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Sugar4",
            "from": [ 1, 2, 1 ],
            "to": [ 6, 7, 6 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 14.75, 6.75, 13.5, 8.0 ], "texture": "#particle" },
                "up":  { "uv": [ 13.5, 8.0, 12.25, 6.75 ], "texture": "#particle" },
                "north":  { "uv": [ 12.25, 8.0, 13.5, 9.25 ], "texture": "#particle" },
                "south":  { "uv": [ 14.75, 8.0, 16.0, 9.25 ], "texture": "#particle" },
                "west":  { "uv": [ 13.5, 8.0, 14.75, 9.25 ], "texture": "#particle" },
                "east":  { "uv": [ 11.0, 8.0, 12.25, 9.25 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Center2",
            "from": [ -1, 2, -6 ],
            "to": [ 1, 8, -1 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 7.25, 7.0, 6.75, 8.25 ], "texture": "#particle" },
                "up":  { "uv": [ 6.75, 8.25, 6.25, 7.0 ], "texture": "#particle" },
                "north":  { "uv": [ 6.25, 8.25, 6.75, 9.75 ], "texture": "#particle" },
                "south":  { "uv": [ 8.0, 8.25, 8.5, 9.75 ], "texture": "#particle" },
                "west":  { "uv": [ 6.75, 8.25, 8.0, 9.75 ], "texture": "#particle" },
                "east":  { "uv": [ 5.0, 8.25, 6.25, 9.75 ], "texture": "#particle" }
            }
        },
        {   "__comment": "Right",
            "from": [ -8, 2, -8 ],
            "to": [ -6, 8, 8 ],
            "rotation": {
                "origin": [ 0, 24, 0 ],
                "axis": "z",
                "angle": 0.0,
                "rescale": false
            },
            "shade": true,
            "faces": {
                "down":  { "uv": [ 5.0, 6.0, 4.5, 10.0 ], "texture": "#particle" },
                "up":  { "uv": [ 4.5, 10.0, 4.0, 6.0 ], "texture": "#particle" },
                "north":  { "uv": [ 4.0, 10.0, 4.5, 11.5 ], "texture": "#particle" },
                "south":  { "uv": [ 8.5, 10.0, 9.0, 11.5 ], "texture": "#particle" },
                "west":  { "uv": [ 4.5, 10.0, 8.5, 11.5 ], "texture": "#particle" },
                "east":  { "uv": [ 0.0, 10.0, 4.0, 11.5 ], "texture": "#particle" }
            }
        }
    ]
}

 

 

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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