{
"model": {
"type": "minecraft:select",
"property": "minecraft:component",
"component": "minecraft:custom_name",
"cases": [
{
"when": ["Magnifying Glass", "Лупа"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/magnifying_glass"
}
},
{
"when": ["Telescope", "Телескоп"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/telescope"
}
},
{
"when":["firstperson_lefthand", "thirdperson_lefthand"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/telescope_left_hand"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/telescope_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Binoculars", "Бинокль"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/binoculars"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/binoculars_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Camera", "Камера"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/camera"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/camera_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Lorgnette", "Лорнет"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/lorgnette"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/lorgnette_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Old Bottle", "Старая бутылка"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/old_bottle"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/old_bottle_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Photocamera", "Фотоаппарат"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/photocamera"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/photocamera_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Pirate Spyglass", "Пиратская подзорная труба"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/pirate_spyglass"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/pirate_spyglass_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
},
{
"when": ["Video Camera", "Видеокамера"],
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when":["firstperson_righthand", "thirdperson_righthand", "ground", "fixed", "firstperson_lefthand", "thirdperson_lefthand", "head"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/video_camera"
}
},
{
"when":["gui"],
"model": {
"type": "minecraft:model",
"model": "ksepsp:item/9_0/other/spyglass/video_camera_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
}
],
"fallback": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when": ["gui", "ground", "fixed"],
"model": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/spyglass_in_hand"
}
}
}
}