3D Model for railings

  • Minecraft Middle Earth is a Minecraft community that recreates the world described by JRR Tolkien and his writings. Everyone can participate in organized events in which we collaborate to create major landmarks, terrain, caves, castles, towns, farms and more.

    To get started, visit The New Player Guide
  • Did you know you can upload your screenshots to your own Media section?.You can get ratings and comments on the uploaded material!

Fraspace5

Artist
Artist
Sep 16, 2017
90
192
25
14
Italy
Languages
English,Italiano
#1
Forum Title: Railings
Filename: glass.json
Resource Pack: GONDOR RP
Model description:
JSON:
{
    "credit": "Made with Blockbench",
    "textures": {
        "1": "blocks/sbarre",
        "particle": "blocks/sbarre"
    },
    "elements": [
        {
            "name": "Element",
            "from": [2, -1, 16.95],
            "to": [28, 0, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [3.5, -0.5, 17.45]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#1"},
                "south": {"uv": [7, 11, 8, 12], "texture": "#1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#1"},
                "up": {"uv": [0, 0, 1, 2], "texture": "#1"},
                "down": {"uv": [0, 0, 1, 2], "texture": "#1"}
            }
        },
        {
            "name": "Element",
            "from": [-9, -2, 17.05],
            "to": [9, -1, 17.45],
            "rotation": {"angle": -45, "axis": "z", "origin": [8.5, -1.5, 16.55]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [14, 2, 15, 9], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-6, -3, 17.05],
            "to": [2.6, -2, 17.45],
            "rotation": {"angle": -45, "axis": "z", "origin": [3.5, -2.5, 16.55]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [8, 2, 9, 9], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [20, 10, 17.05],
            "to": [21, 19.5, 17.45],
            "rotation": {"angle": 45, "axis": "z", "origin": [20.5, 10.5, 16.55]},
            "faces": {
                "north": {"uv": [0, 0, 1, 6], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [1, 2, 2, 4], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-11, -2, 17.05],
            "to": [15, -1, 17.45],
            "rotation": {"angle": -45, "axis": "z", "origin": [14.5, -1.5, 16.55]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [9, 1, 10, 7], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [3, 4, 17.05],
            "to": [21, 5, 17.45],
            "rotation": {"angle": -45, "axis": "z", "origin": [20.5, 4.5, 17.05]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [9, 2, 10, 11], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-3, 2, 17.05],
            "to": [23, 3, 17.45],
            "rotation": {"angle": -45, "axis": "z", "origin": [17, 2.5, 16.55]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [8, 0, 9, 10], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-4, -2, 16.95],
            "to": [22, -1, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [-3.5, -1.5, 16.45]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [7, 1, 8, 6], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-4, 4, 16.95],
            "to": [14, 5, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [-3.5, 4.5, 17.45]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [7, 7, 8, 14], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [-4, 10, 16.95],
            "to": [5.8, 11, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [-3.5, 10.5, 16.45]},
            "faces": {
                "north": {"uv": [0, 0, 9, 11], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [7, 2, 8, 9], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "name": "Element",
            "from": [14, -1, 16.95],
            "to": [23, 0, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [15.5, -0.5, 17.45]},
            "faces": {
                "north": {"uv": [0, 0, 1, 11], "texture": "#1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#1"},
                "south": {"uv": [0, 4, 1, 6], "texture": "#1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#1"},
                "up": {"uv": [0, 0, 1, 2], "texture": "#1"},
                "down": {"uv": [0, 0, 1, 2], "texture": "#1"}
            }
        },
        {
            "name": "Element",
            "from": [8, -2, 16.95],
            "to": [26, -1, 17.35],
            "rotation": {"angle": 45, "axis": "z", "origin": [8.5, -1.5, 17.45]},
            "faces": {
                "north": {"uv": [0, 0, 1, 1], "texture": "#1", "rotation": 90},
                "east": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "south": {"uv": [6, 6, 7, 12], "texture": "#1", "rotation": 270},
                "west": {"uv": [0, 0, 1, 2], "texture": "#1", "rotation": 270},
                "up": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270},
                "down": {"uv": [0, 0, 2, 1], "texture": "#1", "rotation": 270}
            }
        },
        {
            "from": [20.5, -1.5, 16],
            "to": [21, -1, 17],
            "faces": {
                "north": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "east": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "south": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "west": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "up": {"uv": [0, 0, 0.5, 1], "texture": "#1"},
                "down": {"uv": [0, 0, 0.5, 1], "texture": "#1"}
            }
        },
        {
            "from": [20.2, 16.3, 16],
            "to": [20.7, 16.8, 17],
            "faces": {
                "north": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "east": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "south": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "west": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "up": {"uv": [0, 0, 0.5, 1], "texture": "#1"},
                "down": {"uv": [0, 0, 0.5, 1], "texture": "#1"}
            }
        },
        {
            "from": [-3.4, 16, 16],
            "to": [-2.9, 16.5, 17],
            "faces": {
                "north": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "east": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "south": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "west": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "up": {"uv": [0, 0, 0.5, 1], "texture": "#1"},
                "down": {"uv": [0, 0, 0.5, 1], "texture": "#1"}
            }
        },
        {
            "from": [-3.7, -1.7, 16],
            "to": [-3.2, -1.2, 17],
            "faces": {
                "north": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "east": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "south": {"uv": [0, 0, 0.5, 0.5], "texture": "#1"},
                "west": {"uv": [0, 0, 1, 0.5], "texture": "#1"},
                "up": {"uv": [0, 0, 0.5, 1], "texture": "#1"},
                "down": {"uv": [0, 0, 0.5, 1], "texture": "#1"}
            }
        }
    ]
}

Ingame Image:
Senza titolo 18.51.48.png

2018-10-05_10.04.01.png
sbarre.png
16 elements
 
Last edited:

Fraspace5

Artist
Artist
Sep 16, 2017
90
192
25
14
Italy
Languages
English,Italiano
#2
UP!
New code for the model file and new texture for the model!
 

Eriol_Eandur

Head Developer
Staff member
Head Developer
Designer
Developer
Donor
Media Team
Sep 19, 2014
1,959
3,153
93
Germany
Languages
German (native), English
#3
You have all elements at the same z-axis value. Because of this the textures are flickering where the iron bars are crossing each other. You can easily mend this by moving the bars running from lower left to upper right a bit in front. I believe 0.05 would be enough to avoid the flickering textures.
 

Fraspace5

Artist
Artist
Sep 16, 2017
90
192
25
14
Italy
Languages
English,Italiano
#4
Thanks for the advice Eriol, I changed the code of the file, now it is complete I would say.