Date: 2023/02/13 11:05:04 UTC-08: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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
amethyst_pickaxe:
type: item
material: netherite_pickaxe
display name: <&d>Pioche en améthyste
lore:
- <&d>-====================-
- <&5>Permet de récolter les
- <&5>druses d'améthystes
- <&d>-====================-
- <&6>Sneak + clic droit
- <&5>Transforme un bloc d'améthyste
- <&5>en druse d'améthyste
- <&4>-====================-
- <&4>CONSOMME 10 NIVEAU D'XP
- <&4>-====================-
mechanisms:
custom_model_data: 106
recipes:
1:
type: shaped
input:
- amethyst_cluster|diamond|amethyst_cluster
- air|blaze_rod|air
- air|blaze_rod|air
breakam:
type: world
Debug: false
events:
after player breaks budding_amethyst with:amethyst_pickaxe:
- drop <context.location> budding_amethyst
after player right clicks amethyst_block with:amethyst_pickaxe:
- if <player.xp_level> >= 10:
- if <player.is_sneaking>:
- experience take level 10
- modifyblock <player.cursor_on> budding_amethyst
- playsound <context.location> sound:BLOCK_AMETHYST_BLOCK_BREAK pitch:10
sell_wand:
type: item
material: paper
display name: <&6><&l>Sell Wand
mechanisms:
custom_model_data: 800
hides: ENCHANTS
enchantments:
- efficiency:1
drawer1:
type: item
material: obsidian
display name: <&6><&l>Partie supérieur gauche du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
- obsidian|obsidian|nether_star
drawer2:
type: item
material: obsidian
display name: <&6><&l>Partie supérieur millieu du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
- obsidian|nether_star|obsidian
drawer3:
type: item
material: obsidian
display name: <&6><&l>Partie supérieur droite du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
- nether_star|obsidian|obsidian
drawer4:
type: item
material: obsidian
display name: <&6><&l>Partie intermédiaire gauche du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|obsidian
- obsidian|obsidian|nether_star
- obsidian|obsidian|obsidian
drawer5:
type: item
material: nether_star
display name: <&6><&l>Coeur de Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- nether_star|nether_star|nether_star
- nether_star|nether_star|nether_star
- nether_star|nether_star|nether_star
drawer6:
type: item
material: obsidian
display name: <&6><&l>Partie intermédiaire droite du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|obsidian
- nether_star|obsidian|obsidian
- obsidian|obsidian|obsidian
drawer7:
type: item
material: obsidian
display name: <&6><&l>Partie inférieure gauche du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|obsidian|nether_star
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
drawer8:
type: item
material: obsidian
display name: <&6><&l>Partie inférieure millieu du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- obsidian|nether_star|obsidian
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
drawer9:
type: item
material: obsidian
display name: <&6><&l>Partie inférieure droite du Drawer
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- nether_star|obsidian|obsidian
- obsidian|obsidian|obsidian
- obsidian|obsidian|obsidian
drawer:
type: item
material: paper
display name: <&6><&l>Bon pour un Drawer
lore:
- <&7>Clic droit pour recevoir un drawer tout neuf !
mechanisms:
hides: ENCHANTS
enchantments:
- efficiency:1
recipes:
1:
type: shaped
input:
- drawer1|drawer2|drawer3
- drawer4|drawer5|drawer6
- drawer7|drawer8|drawer9
givedrawer:
type: world
Debug: false
events:
on player right clicks air with:drawer:
- take item:drawer
- execute as_server "wildchests:chests give <player.name> storage_unit 1"
- narrate "<&2>Vous avez reçu un drawer."