Bedrock Snippets

Custom Spear

View Source

custom_spear > rp > models > entity > stone_spear_item.geo.json

{
	"format_version": "1.16.0",
	"minecraft:geometry": [
		{
			"description": {
				"identifier": "geometry.stone_spear_item",
				"texture_width": 32,
				"texture_height": 32,
				"visible_bounds_width": 5,
				"visible_bounds_height": 3.5,
				"visible_bounds_offset": [0, 1.25, 0]
			},
			"bones": [
				{
					"name": "pole",
					"pivot": [0, 26, -1],
					"rotation": [-90, 0, 0],
					"binding": "q.item_slot_to_bone_name(c.item_slot)",
					"cubes": [
						{
							"origin": [0, 26, -4],
							"size": [0, 2, 6],
							"pivot": [0, 27, -1],
							"rotation": [0, 0, -180],
							"uv": {
								"north": {"uv": [0, 0], "uv_size": [0, 2]},
								"east": {"uv": [2, 2], "uv_size": [6, 2]},
								"south": {"uv": [0, 0], "uv_size": [0, 2]},
								"up": {"uv": [0, 0], "uv_size": [0, 6]},
								"down": {"uv": [0, 6], "uv_size": [0, -6]}
							}
						},
						{
							"origin": [-0.25, 28.12132, 0.12132],
							"size": [0.5, 2, 2],
							"pivot": [0, 27, -1],
							"rotation": [-45, 0, 0],
							"uv": {
								"north": {"uv": [6, 6], "uv_size": [1, 2]},
								"east": {"uv": [5, 6], "uv_size": [2, 2]},
								"south": {"uv": [7, 6], "uv_size": [1, 2]},
								"west": {"uv": [4, 6], "uv_size": [2, 2]},
								"up": {"uv": [2, 8], "uv_size": [1, 2]},
								"down": {"uv": [8, 4], "uv_size": [1, -2]}
							}
						},
						{
							"origin": [-0.5, 26.5, 2],
							"size": [1, 1, 23],
							"uv": {
								"north": {"uv": [0, 9], "uv_size": [1, 1]},
								"east": {"uv": [0, 1], "uv_size": [23, 1]},
								"south": {"uv": [4, 8], "uv_size": [1, 1]},
								"west": {"uv": [0, 1], "uv_size": [23, 1]},
								"up": {"uv": [0, 2], "uv_size": [1, 23]},
								"down": {"uv": [0, 25], "uv_size": [1, -23]}
							}
						}
					]
				}
			]
		}
	]
}
Copied to Clipboard