Date: 2025/07/26 23:55:12 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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 <player> hand:umbrella_open
- playsound <player> sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1
- playeffect effect:WATER_SPLASH at:<player.location.add[0,2,0]> offset:0.5 quantity:20
on player right clicks block with:umbrella_open:
- determine passively cancelled
- take iteminhand
- give umbrella_closed
- equip <player> hand:umbrella_closed
- playsound <player> 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 <player> hand:umbrella_open
- playsound <player> sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1
- playeffect effect:WATER_SPLASH at:<player.location.add[0,2,0]> offset:0.5 quantity:20
on player right clicks block with:umbrella_open:
- determine passively cancelled
- take iteminhand
- give umbrella_closed
- equip <player> hand:umbrella_closed
- playsound <player> sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1.5