umbrella_closed: type: item debug: false material: stick mechanisms: custom_model_data: 1 display name: <&7>Свёрнутый зонт lore: - <&7>ПКМ чтобы раскрыть recipes: 1: type: shaped input: - air|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool - air|stick|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool - stick|air|air umbrella_open: type: item debug: false material: stick mechanisms: custom_model_data: 2 display name: <&7>Зонт lore: - <&7>ПКМ чтобы свернуть umbrella_toggle: type: world debug: false events: on player right clicks block with:umbrella_closed: - determine passively cancelled - take iteminhand - give umbrella_open - equip hand:umbrella_open - playsound sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1 - playeffect effect:WATER_SPLASH at: offset:0.5 quantity:20 on player right clicks block with:umbrella_open: - determine passively cancelled - take iteminhand - give umbrella_closed - equip hand:umbrella_closed - playsound sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1.5 (OR) umbrella_closed: type: item debug: false material: stick mechanisms: custom_model_data: 1 display name: <&7>Свёрнутый зонт lore: - <&7>ПКМ чтобы раскрыть recipes: 1: type: shaped input: - air|wool|wool - air|stick|wool - stick|air|air umbrella_open: type: item debug: false material: stick mechanisms: custom_model_data: 2 display name: <&7>Зонт lore: - <&7>ПКМ чтобы свернуть umbrella_toggle: type: world debug: false events: on player right clicks block with:umbrella_closed: - determine passively cancelled - take iteminhand - give umbrella_open - equip hand:umbrella_open - playsound sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1 - playeffect effect:WATER_SPLASH at: offset:0.5 quantity:20 on player right clicks block with:umbrella_open: - determine passively cancelled - take iteminhand - give umbrella_closed - equip hand:umbrella_closed - playsound sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1.5