{
	"oversized_in_gui": true,
	"model": {
    "type": "select",
    "property": "component",
    "component": "custom_name",
    "cases": [
				{
					"when": "Волшебная палочка",
					"model":{
						"type": "select",
						"model": "item/lor/l0",
						"property": "display_context",
						"cases": [
							{
								"when": [
									"thirdperson_lefthand",
									"firstperson_lefthand",
									"thirdperson_righthand",
									"firstperson_righthand"
								],
								"model": {
									"type": "model",
									"model": "item/huina/magic_stick/magic_on"
								}
							}
						],
						"fallback": {
							"type": "model",
							"model": "item/huina/magic_stick/magic_off"
						}
					}
				}
    ],
    "fallback": {
          "type": "model",
          "model": "minecraft:item/debug_stick"
    }
  }
}