Jump to content

Recommended Posts

Posted

Does anyone know whats happening here?

 

kKzKh22.png

 

Blockstates file

 {
    "variants": {
        "facing=north":  { "model": "minefantasy2:anvilbronze" },
        "facing=south":  { "model": "minefantasy2:anvilbronze", "y": 180, "uvlock": true },
        "facing=east": { "model": "minefantasy2:anvilbronze", "y": 90, "uvlock": true },
        "facing=west": { "model": "minefantasy2:anvilbronze", "y": 270, "uvlock": true }
    }
}

 

Model file:

{
"__comment": "Designed by Cleverpanda with BDcraft Cubik PRO 0.76 Beta - http://bdcraft.net",
"textures": {
        "texture": "minefantasy2:models/tileentity/anvilBronze"
    },
"elements": [ 
{
    "from": [ 4, 0, 4 ],
    "to": [ 12, 3, 12 ],
    "__comment": "floor",
    "faces": {
        "down":  { "uv": [ 7.5, 5.25, 9.5, 7.25 ], "texture": "#texture" },
        "up":    { "uv": [ 5.5, 5.25, 7.5, 7.25 ], "texture": "#texture" },
        "north": { "uv": [ 3.5, 7.25, 5.5, 8 ], "texture": "#texture" },
        "south": { "uv": [ 7.5, 7.25, 9.5, 8 ], "texture": "#texture" },
        "west":  { "uv": [ 5.5, 7.25, 7.5, 8 ], "texture": "#texture" },
        "east":  { "uv": [ 9.5, 7.25, 11.5, 8 ], "texture": "#texture" }
    }
},
{
    "from": [ 5, 3, 5 ],
    "to": [ 11, 5, 11 ],
    "__comment": "bottom",
    "faces": {
        "up":    { "uv": [ 1.5, 0, 3, 2 ], "texture": "#texture" },
        "north": { "uv": [ 1.5, 1.5, 3, 2 ], "texture": "#texture" },
        "south": { "uv": [ 3, 1.5, 4.5, 2 ], "texture": "#texture" },
        "west":  { "uv": [ 0, 1.5, 1.5, 2 ], "texture": "#texture" },
        "east":  { "uv": [ 4.5, 1.5, 6, 2 ], "texture": "#texture" }
    }
},
{
    "from": [ 6, 5, 6 ],
    "to": [ 10, 9, 10 ],
    "__comment": "post",
    "faces": {
        "north": { "uv": [ 13, 7, 14, 8 ], "texture": "#texture" },
        "south": { "uv": [ 14, 7, 15, 8 ], "texture": "#texture" },
        "west":  { "uv": [ 15, 7, 16, 8 ], "texture": "#texture" },
        "east":  { "uv": [ 12, 7, 13, 8 ], "texture": "#texture" }
    }
},
{
    "from": [ 3, 9, 5 ],
    "to": [ 13, 13, 11 ],
    "__comment": "body",
    "faces": {
        "down":  { "uv": [ 12, 0, 14.5, 1.5 ], "texture": "#texture" },
        "up":    { "uv": [ 9.5, 0, 12, 1.5 ], "texture": "#texture" },
        "north": { "uv": [ 9.5, 1.5, 12, 2.5 ], "texture": "#texture" },
        "south": { "uv": [ 13.5, 1.5, 16, 2.5 ], "texture": "#texture" },
        "west":  { "uv": [ 8, 1.5, 9.5, 2.5 ], "texture": "#texture" },
        "east":  { "uv": [ 12, 1.5, 13.5, 2.5 ], "texture": "#texture" }
    }
},
{
    "from": [ 13, 10, 7 ],
    "to": [ 16, 12, 9 ],
    "__comment": "tip",
    "faces": {
        "down":  { "uv": [ 1.25, 2.5, 2, 3 ], "texture": "#texture" },
        "up":    { "uv": [ 0.5, 2.5, 1.25, 3 ], "texture": "#texture" },
        "north": { "uv": [ 0.5, 3, 1.25, 3.5 ], "texture": "#texture" },
        "south": { "uv": [ 1.25, 3, 2, 3.5 ], "texture": "#texture" },
        "east":  { "uv": [ 0, 3, 0.5, 3.5 ], "texture": "#texture" }
    }
},
{
    "from": [ 1, 9, 7 ],
    "to": [ 3, 12, 9 ],
    "__comment": "back",
    "faces": {
        "down":  { "uv": [ 0.5, 4.75, 1, 5.25 ], "texture": "#texture" },
        "up":    { "uv": [ 1, 4.75, 1.5, 5.25 ], "texture": "#texture" },
        "north": { "uv": [ 0, 5.25, 0.5, 6 ], "texture": "#texture" },
        "south": { "uv": [ 1, 5.25, 1.5, 6 ], "texture": "#texture" }
    }
},
{
    "from": [ -2, 9, 6 ],
    "to": [ 1, 13, 10 ],
    "__comment": "end",
    "faces": {
        "down":  { "uv": [ 14, 7, 15, 6 ], "texture": "#texture" },
        "up":    { "uv": [ 13, 6, 14, 7 ], "texture": "#texture" },
        "north": { "uv": [ 12, 7, 13, 8 ], "texture": "#texture" },
        "south": { "uv": [ 14, 7, 15, 8 ], "texture": "#texture" },
        "west":  { "uv": [ 13, 7, 14, 8 ], "texture": "#texture" },
        "east":  { "uv": [ 15, 7, 16, 8 ], "texture": "#texture" }
    }
}
]
}

Posted

Why did you use uvlock?

It will not rotate the texture, so model would be

It is for the case that you don't want the top face texture to get rotated.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.