Bedrock Snippets

Custom Glass Block

View Source

custom_glass > rp > models > blocks > custom_glass.geo.json

{
	"format_version": "1.12.0",
	"minecraft:geometry": [
		{
			"description": {
				"identifier": "geometry.custom_glass",
				"texture_width": 16,
				"texture_height": 16,
				"visible_bounds_width": 2,
				"visible_bounds_height": 2.5,
				"visible_bounds_offset": [0, 0.75, 0]
			},
			"bones": [
				{
					"name": "block",
					"pivot": [0, 8, 0],
					"cubes": [
						{
							"origin": [-8, 0, -8],
							"size": [16, 16, 16],
							"uv": {
								"north": {"uv": [0, 0], "uv_size": [16, 16]},
								"east": {"uv": [0, 0], "uv_size": [16, 16]},
								"south": {"uv": [0, 0], "uv_size": [16, 16]},
								"west": {"uv": [0, 0], "uv_size": [16, 16]},
								"up": {"uv": [16, 16], "uv_size": [-16, -16]},
								"down": {"uv": [16, 16], "uv_size": [-16, -16]}
							}
						}
					]
				}
			]
		}
	]
}
Copied to Clipboard