SHOW:
|
|
- or go back to the newest paste.
1 | on death of player: | |
2 | set {_itemname} to name of held item | |
3 | attacker is player | |
4 | set death message to "&c%victim%は倒された" | |
5 | ||
6 | on rightclick with iron sword: | |
7 | if {cooltime1.%player%} <= 0: | |
8 | set {cooltime1.%player%} to 5 | |
9 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 0" | |
10 | set {_loc} to location of event-player | |
11 | add 1.5 to y-coordinate of {_loc} | |
12 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
13 | set {_a2} to yaw of location of event-player - 270 | |
14 | set {_a1} to Pitch of location of event-player * -1 | |
15 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 2 | |
16 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 2 | |
17 | set {_y} to cos(90-{_a1}) * 2 | |
18 | loop 40 times: | |
19 | add {_x} to x-coordinate of {_loc} | |
20 | add {_y} to y-coordinate of {_loc} | |
21 | add {_z} to z-coordinate of {_loc} | |
22 | if block at {_loc} is block: | |
23 | stop | |
24 | execute console command "playsound minecraft:entity.bat.takeoff master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1.2" | |
25 | execute console command "particle sweepAttack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" | |
26 | loop living entities in radius 2 of {_loc}: | |
27 | damage loop-entity by 2 hearts | |
28 | set velocity of loop-entity to vector {_x} * 0,{_y} + 0.75,{_z} * 0 | |
29 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0 0.5 0 5" | |
30 | stop | |
31 | wait a tick | |
32 | else: | |
33 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime1.%player%}%秒&9&l》" to player | |
34 | ||
35 | every 1 ticks in "world": | |
36 | loop all players: | |
37 | add -0.05 to {cooltime1.%loop-player%} | |
38 | add -0.05 to {cooltime2.%loop-player%} | |
39 | add -0.05 to {cooltime3.%loop-player%} | |
40 | add -0.05 to {cooltime4.%loop-player%} | |
41 | add -0.05 to {cooltime5.%loop-player%} | |
42 | add -0.05 to {cooltime6.%loop-player%} | |
43 | add -0.05 to {cooltime7.%loop-player%} | |
44 | add -0.05 to {cooltime8.%loop-player%} | |
45 | add -0.05 to {cooltime9.%loop-player%} | |
46 | add -0.05 to {cooltime10.%loop-player%} | |
47 | add -0.05 to {cooltime11.%loop-player%} | |
48 | add -0.05 to {cooltime12.%loop-player%} | |
49 | add -0.05 to {cooltime13.%loop-player%} | |
50 | add -0.05 to {cooltime14.%loop-player%} | |
51 | add -0.05 to {cooltime15.%loop-player%} | |
52 | add -0.05 to {cooltime16.%loop-player%} | |
53 | add -0.05 to {cooltime17.%loop-player%} | |
54 | add -0.05 to {cooltime18.%loop-player%} | |
55 | add -0.05 to {cooltime19.%loop-player%} | |
56 | every 1 seconds in "world": | |
57 | loop all players: | |
58 | send action bar "&9&l《&eFC&a:&6%{fc.%loop-player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c秒&9&l》" to loop-player | |
59 | ||
60 | on rightclick with golden chestplate: | |
61 | cancel event | |
62 | if {cooltime2.%player%} <= 0: | |
63 | set {cooltime2.%player%} to 8 | |
64 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:item.totem.use master %player% ~ ~ ~ 1 0" | |
65 | set {_loc} to location of event-player | |
66 | add 1.5 to y-coordinate of {_loc} | |
67 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
68 | set {_a2} to yaw of location of event-player - 270 | |
69 | set {_a1} to Pitch of location of event-player * -1 | |
70 | execute console command "effect %player% minecraft:resistance 5 1 true" | |
71 | execute console command "/execute %player% ~ ~ ~ particle totem ~ ~1 ~ 0 0.25 0 0.25 50" | |
72 | stop | |
73 | wait a tick | |
74 | else: | |
75 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime2.%player%}%秒&9&l》" to player | |
76 | ||
77 | on rightclick with nether star: | |
78 | cancel event | |
79 | if {cooltime3.%player%} <= 0: | |
80 | set {cooltime3.%player%} to 10 | |
81 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.guardian.attack master %player% ~ ~ ~ 1 2" | |
82 | set {_loc} to location of event-player | |
83 | add 1.5 to y-coordinate of {_loc} | |
84 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
85 | set {_a2} to yaw of location of event-player - 270 | |
86 | set {_a1} to Pitch of location of event-player * -1 | |
87 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
88 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
89 | set {_y} to cos(90-{_a1}) * 1.5 | |
90 | loop 20 times: | |
91 | add {_x} to x-coordinate of {_loc} | |
92 | add {_y} to y-coordinate of {_loc} | |
93 | add {_z} to z-coordinate of {_loc} | |
94 | if block at {_loc} is block: | |
95 | stop | |
96 | execute console command "playsound minecraft:entity.guardian.hurt master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1.2" | |
97 | execute console command "particle spell %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" | |
98 | loop living entities in radius 2 of {_loc}: | |
99 | damage loop-entity by 1 hearts | |
100 | teleport the event-player to the loop-entity | |
101 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0 0.5 0 5" | |
102 | stop | |
103 | wait a tick | |
104 | else: | |
105 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime3.%player%}%秒&9&l》" to player | |
106 | ||
107 | on rightclick with feather: | |
108 | cancel event | |
109 | if {cooltime4.%player%} <= 0: | |
110 | set {cooltime4.%player%} to 4 | |
111 | set {_loc} to location of event-player | |
112 | add 1.5 to y-coordinate of {_loc} | |
113 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
114 | set {_a2} to yaw of location of event-player - 270 | |
115 | set {_a1} to Pitch of location of event-player * -1 | |
116 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1 | |
117 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1 | |
118 | set {_y} to cos(90-{_a1}) * 1 | |
119 | loop 20 times: | |
120 | add {_x} to x-coordinate of {_loc} | |
121 | add {_y} to y-coordinate of {_loc} | |
122 | add {_z} to z-coordinate of {_loc} | |
123 | if block at {_loc} is block: | |
124 | stop | |
125 | execute console command "playsound minecraft:entity.player.attack.knockback master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 2" | |
126 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" | |
127 | loop living entities in radius 1.5 of {_loc}: | |
128 | damage loop-entity by 1 hearts | |
129 | set velocity of loop-entity to vector {_x} * 1.2,{_y} + 0.1,{_z} *1.2 | |
130 | execute console command "playsound minecraft:entity.bat.takeoff master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0" | |
131 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0 1 0 5" | |
132 | stop | |
133 | wait a tick | |
134 | else: | |
135 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime4.%player%}%秒&9&l》" to player | |
136 | ||
137 | on rightclick with diamond chestplate: | |
138 | cancel event | |
139 | if {cooltime5.%player%} <= 0: | |
140 | set {cooltime5.%player%} to 15 | |
141 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.hurt master %player% ~ ~ ~ 1 0" | |
142 | set {_loc} to location of event-player | |
143 | add 1.5 to y-coordinate of {_loc} | |
144 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
145 | set {_a2} to yaw of location of event-player - 270 | |
146 | set {_a1} to Pitch of location of event-player * -1 | |
147 | execute console command "effect %player% minecraft:resistance 2 9 true" | |
148 | execute console command "/execute %player% ~ ~ ~ particle totem ~ ~1 ~ 0 0.25 0 0.25 50" | |
149 | stop | |
150 | wait a tick | |
151 | else: | |
152 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime5.%player%}%秒&9&l》" to player | |
153 | ||
154 | on rightclick with golden sword: | |
155 | cancel event | |
156 | if {cooltime6.%player%} <= 0: | |
157 | set {cooltime6.%player%} to 6 | |
158 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.blaze.shoot master %player% ~ ~ ~ 1 2" | |
159 | set {_loc} to location of event-player | |
160 | add 1.5 to y-coordinate of {_loc} | |
161 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
162 | set {_a2} to yaw of location of event-player - 270 | |
163 | set {_a1} to Pitch of location of event-player * -1 | |
164 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
165 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
166 | set {_y} to cos(90-{_a1}) * 1 | |
167 | loop 40 times: | |
168 | add {_x} to x-coordinate of {_loc} | |
169 | add {_y} to y-coordinate of {_loc} | |
170 | add {_z} to z-coordinate of {_loc} | |
171 | if block at {_loc} is block: | |
172 | stop | |
173 | execute console command "particle reddust %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0.1 0.1 0 75" | |
174 | loop living entities in radius 2 of {_loc}: | |
175 | damage loop-entity by 3 hearts | |
176 | execute console command "particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.2 0 0.2 100" | |
177 | stop | |
178 | wait a tick | |
179 | else: | |
180 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime6.%player%}%秒&9&l》" to player | |
181 | ||
182 | on rightclick with tnt: | |
183 | cancel event | |
184 | if {cooltime7.%player%} <= 0: | |
185 | set {cooltime7.%player%} to 7 | |
186 | set {_loc} to location of event-player | |
187 | add 1.5 to y-coordinate of {_loc} | |
188 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
189 | set {_a2} to yaw of location of event-player - 270 | |
190 | set {_a1} to Pitch of location of event-player * -1 | |
191 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 0.5 | |
192 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 0.5 | |
193 | set {_y} to cos(90-{_a1}) * 0.5 | |
194 | loop 20 times: | |
195 | add {_x} to x-coordinate of {_loc} | |
196 | add {_y} to y-coordinate of {_loc} | |
197 | add {_z} to z-coordinate of {_loc} | |
198 | if block at {_loc} is block: | |
199 | stop | |
200 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.tnt.primed master %player% ~ ~ ~ 1 2" | |
201 | execute console command "particle fireworksSpark %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10" | |
202 | loop living entities in radius 1.5 of {_loc}: | |
203 | loop-entity is not event-player | |
204 | damage loop-entity by 5 hearts | |
205 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.fireworks.blast master %player% ~ ~ ~ 1 0" | |
206 | execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 50" | |
207 | stop | |
208 | wait a tick | |
209 | else: | |
210 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime7.%player%}%秒&9&l》" to player | |
211 | ||
212 | on rightclick with ice: | |
213 | cancel event | |
214 | if {cooltime8.%player%} <= 0: | |
215 | set {cooltime8.%player%} to 9 | |
216 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.glass.break master %player% ~ ~ ~ 1 0" | |
217 | set {_loc} to location of event-player | |
218 | add 1.5 to y-coordinate of {_loc} | |
219 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
220 | set {_a2} to yaw of location of event-player - 270 | |
221 | set {_a1} to Pitch of location of event-player * -1 | |
222 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
223 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
224 | set {_y} to cos(90-{_a1}) * 1 | |
225 | loop 30 times: | |
226 | add {_x} to x-coordinate of {_loc} | |
227 | add {_y} to y-coordinate of {_loc} | |
228 | add {_z} to z-coordinate of {_loc} | |
229 | if block at {_loc} is block: | |
230 | stop | |
231 | execute console command "playsound minecraft:block.glass.break master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1" | |
232 | execute console command "particle endRod %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0.05 20" | |
233 | loop living entities in radius 1.5 of {_loc}: | |
234 | loop-entity is not event-player | |
235 | damage loop-entity by 2 hearts | |
236 | apply slowness 100 to loop-entity for 2 seconds | |
237 | execute console command "particle endRod %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50" | |
238 | stop | |
239 | wait a tick | |
240 | else: | |
241 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime8.%player%}%秒&9&l》" to player | |
242 | ||
243 | on rightclick with emerald: | |
244 | cancel event | |
245 | if {cooltime9.%player%} <= 0: | |
246 | set {cooltime9.%player%} to 3 | |
247 | execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~ ~ 0.5 0 0.5 0 50" | |
248 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 2" | |
249 | set {_loc} to location of event-player | |
250 | add 1.5 to y-coordinate of {_loc} | |
251 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
252 | set {_a2} to yaw of location of event-player - 270 | |
253 | set {_a1} to Pitch of location of event-player * -1 | |
254 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
255 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
256 | set {_y} to cos(90-{_a1}) * 1 | |
257 | set velocity of player to vector {_x} * 0,{_y} + 1,{_z} * 0 | |
258 | else: | |
259 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime9.%player%}%秒&9&l》" to player | |
260 | ||
261 | on rightclick with minecart: | |
262 | cancel event | |
263 | if {cooltime10.%player%} <= 0: | |
264 | set {cooltime10.%player%} to 15 | |
265 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.minecart.riding master %player% ~ ~ ~ 1 1" | |
266 | set {_loc} to location of event-player | |
267 | add 1.5 to y-coordinate of {_loc} | |
268 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
269 | set {_a2} to yaw of location of event-player - 270 | |
270 | set {_a1} to Pitch of location of event-player * -1 | |
271 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
272 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
273 | set {_y} to cos(90-{_a1}) * 1 | |
274 | loop 100 times: | |
275 | execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~1 ~ 0 0 0 0.1 10" | |
276 | set velocity of player to vector {_x} * 0.25,{_y} * 0.25,{_z} * 0.25 | |
277 | wait 1 ticks | |
278 | else: | |
279 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime10.%player%}%秒&9&l》" to player | |
280 | ||
281 | on rightclick with red mushroom: | |
282 | cancel event | |
283 | if {cooltime11.%player%} <= 0: | |
284 | set {cooltime11.%player%} to 14 | |
285 | set {_loc} to location of event-player | |
286 | add 1.5 to y-coordinate of {_loc} | |
287 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
288 | set {_a2} to yaw of location of event-player - 270 | |
289 | set {_a1} to Pitch of location of event-player * -1 | |
290 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1 | |
291 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1 | |
292 | set {_y} to cos(90-{_a1}) * 1 | |
293 | loop 20 times: | |
294 | add {_x} to x-coordinate of {_loc} | |
295 | add {_y} to y-coordinate of {_loc} | |
296 | add {_z} to z-coordinate of {_loc} | |
297 | if block at {_loc} is block: | |
298 | stop | |
299 | execute console command "playsound minecraft:entity.witch.drink master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1" | |
300 | execute console command "/particle dragonbreath %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0.0075 75" | |
301 | loop living entities in radius 1.5 of {_loc}: | |
302 | loop-entity is not event-player | |
303 | damage loop-entity by 1 hearts | |
304 | apply poison 2 to loop-entity for 7 seconds | |
305 | execute console command "particle %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50" | |
306 | stop | |
307 | wait a ticks | |
308 | else: | |
309 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime11.%player%}%秒&9&l》" to player | |
310 | ||
311 | on rightclick with anvil: | |
312 | cancel event | |
313 | if {cooltime12.%player%} <= 0: | |
314 | set {cooltime12.%player%} to 13 | |
315 | set {_loc} to location of event-player | |
316 | add 1.5 to y-coordinate of {_loc} | |
317 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
318 | set {_a2} to yaw of location of event-player - 270 | |
319 | set {_a1} to Pitch of location of event-player * -1 | |
320 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
321 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
322 | set {_y} to cos(90-{_a1}) * 1 | |
323 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
324 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.5" | |
325 | wait 5 ticks | |
326 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
327 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.6" | |
328 | wait 5 ticks | |
329 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
330 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.7" | |
331 | wait 5 ticks | |
332 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
333 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.8" | |
334 | wait 5 ticks | |
335 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
336 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.9" | |
337 | wait 5 ticks | |
338 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
339 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
340 | wait 5 ticks | |
341 | loop 20 times: | |
342 | add {_x} to x-coordinate of {_loc} | |
343 | add {_y} to y-coordinate of {_loc} | |
344 | add {_z} to z-coordinate of {_loc} | |
345 | if block at {_loc} is block: | |
346 | stop | |
347 | loop 10 times: | |
348 | execute console command "/execute %player% ~ ~ ~ /particle blockcrack ~ ~1 ~ 0 0 0 0 50 0 %player% 4100" | |
349 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.break_block master %player% ~ ~ ~ 1 1" | |
350 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0" | |
351 | set velocity of player to vector {_x} * 1.5,{_y} - 0.4,{_z} * 1.5 | |
352 | loop living entities in radius 2.5 of event-player: | |
353 | loop-entity is not event-player | |
354 | damage loop-entity by 6 hearts | |
355 | wait 2 ticks | |
356 | else: | |
357 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime12.%player%}%秒&9&l》" to player | |
358 | ||
359 | on rightclick with glowstone dust: | |
360 | cancel event | |
361 | if {cooltime13.%player%} <= 0: | |
362 | set {cooltime13.%player%} to 12 | |
363 | set {_loc} to location of event-player | |
364 | add 60 to y-coordinate of {_loc} | |
365 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
366 | set {_a2} to yaw of location of event-player - 270 | |
367 | set {_a1} to Pitch of location of event-player * -1 | |
368 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 2 | |
369 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 2 | |
370 | set {_y} to cos(90-{_a1}) * 2 | |
371 | add {_x} to x-coordinate of {_loc} | |
372 | add {_y} to y-coordinate of {_loc} | |
373 | add {_z} to z-coordinate of {_loc} | |
374 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.thunder master %player% ~ ~ ~ 1 1" | |
375 | loop 5 times: | |
376 | loop 10 times: | |
377 | add 0.2 to x-coordinate of {_loc} | |
378 | add -0.3 to y-coordinate of {_loc} | |
379 | add 0.2 to z-coordinate of {_loc} | |
380 | execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137" | |
381 | loop 10 times: | |
382 | add -0.2 to x-coordinate of {_loc} | |
383 | add -0.3 to y-coordinate of {_loc} | |
384 | add -0.2 to z-coordinate of {_loc} | |
385 | execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137" | |
386 | loop 10 times: | |
387 | add 0.2 to x-coordinate of {_loc} | |
388 | add -0.3 to y-coordinate of {_loc} | |
389 | add 0.2 to z-coordinate of {_loc} | |
390 | execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137" | |
391 | loop 10 times: | |
392 | add -0.2 to x-coordinate of {_loc} | |
393 | add -0.3 to y-coordinate of {_loc} | |
394 | add -0.2 to z-coordinate of {_loc} | |
395 | execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137" | |
396 | wait 4 ticks | |
397 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
398 | execute console command "/execute %player% ~ ~ ~ /particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 2 10" | |
399 | loop living entities in radius 10 of event-player: | |
400 | loop-entity is not event-player | |
401 | damage loop-entity by 3 hearts | |
402 | else: | |
403 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime13.%player%}%秒&9&l》" to player | |
404 | ||
405 | on rightclick with gold nugget: | |
406 | if {cooltime14.%player%} <= 0: | |
407 | set {cooltime14.%player%} to 20 | |
408 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
409 | set {_loc} to location of event-player | |
410 | add 1.5 to y-coordinate of {_loc} | |
411 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
412 | set {_a2} to yaw of location of event-player - 270 | |
413 | set {_a1} to Pitch of location of event-player * -1 | |
414 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 2 | |
415 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 2 | |
416 | set {_y} to cos(90-{_a1}) * 2 | |
417 | loop 40 times: | |
418 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
419 | wait a ticks | |
420 | set {_randomeffect.%player%} to a random integer between 1 and 11 | |
421 | if {_randomeffect.%player%} is 1: | |
422 | apply slowness 5 to event-player for 7 seconds | |
423 | if {_randomeffect.%player%} is 2: | |
424 | apply speed 3 to event-player for 7 seconds | |
425 | if {_randomeffect.%player%} is 3: | |
426 | apply strength 2 to event-player for 7 seconds | |
427 | if {_randomeffect.%player%} is 4: | |
428 | apply wither 2 to event-player for 7 seconds | |
429 | if {_randomeffect.%player%} is 5: | |
430 | apply health boost 2 to event-player for 7 seconds | |
431 | if {_randomeffect.%player%} is 6: | |
432 | apply blindness 2 to event-player for 7 seconds | |
433 | if {_randomeffect.%player%} is 7: | |
434 | apply regeneration 2 to event-player for 7 seconds | |
435 | if {_randomeffect.%player%} is 8: | |
436 | apply poison 2 to event-player for 7 seconds | |
437 | if {_randomeffect.%player%} is 9: | |
438 | apply jump boost 2 to event-player for 7 seconds | |
439 | if {_randomeffect.%player%} is 10: | |
440 | apply slowness 5 to event-player for 7 seconds | |
441 | apply wither 2 to event-player for 7 seconds | |
442 | apply blindness 2 to event-player for 7 seconds | |
443 | apply poison 2 to event-player for 7 seconds | |
444 | if {_randomeffect.%player%} is 11: | |
445 | apply jump boost 2 to event-player for 7 seconds | |
446 | apply regeneration 2 to event-player for 7 seconds | |
447 | apply health boost 2 to event-player for 7 seconds | |
448 | apply strength 2 to event-player for 7 seconds | |
449 | apply speed 3 to event-player for 7 seconds | |
450 | else: | |
451 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime14.%player%}%秒&9&l》" to player | |
452 | ||
453 | on rightclick with blaze rod: | |
454 | cancel event | |
455 | if {cooltime15.%player%} <= 0: | |
456 | set {cooltime15.%player%} to 12 | |
457 | damage event-player by 3 hearts | |
458 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 1 2" | |
459 | set {_loc} to location of event-player | |
460 | add 1.5 to y-coordinate of {_loc} | |
461 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
462 | set {_a2} to yaw of location of event-player - 270 | |
463 | set {_a1} to Pitch of location of event-player * -1 | |
464 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
465 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
466 | set {_y} to cos(90-{_a1}) * 1 | |
467 | loop 30 times: | |
468 | add {_x} to x-coordinate of {_loc} | |
469 | add {_y} to y-coordinate of {_loc} | |
470 | add {_z} to z-coordinate of {_loc} | |
471 | if {_loc} is stone: | |
472 | stop | |
473 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 0.5 2" | |
474 | execute console command "particle lava %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10" | |
475 | loop living entities in radius 2 of {_loc}: | |
476 | loop-entity is not event-player | |
477 | execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
478 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
479 | damage loop-entity by 6 hearts | |
480 | stop | |
481 | wait a tick | |
482 | else: | |
483 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime15.%player%}%秒&9&l》" to player | |
484 | ||
485 | on rightclick with wooden hoe: | |
486 | cancel event | |
487 | if {cooltime16.%player%} <= 0: | |
488 | set {cooltime16.%player%} to 20 | |
489 | apply slowness 100 to event-player for 2 seconds | |
490 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.1 0.1 0.1 0 100" | |
491 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
492 | wait 4 ticks | |
493 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.2 0.2 0.2 0 100" | |
494 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
495 | wait 4 ticks | |
496 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.3 0.3 0.3 0 100" | |
497 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
498 | wait 4 ticks | |
499 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.4 0.4 0.4 0 100" | |
500 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
501 | wait 4 ticks | |
502 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.5 0.5 0.5 0 100" | |
503 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
504 | wait 4 ticks | |
505 | set {_loc} to location of event-player | |
506 | add 1.75 to y-coordinate of {_loc} | |
507 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
508 | set {_a2} to yaw of location of event-player - 270 | |
509 | set {_a1} to Pitch of location of event-player * -1 | |
510 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
511 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
512 | set {_y} to cos(90-{_a1}) * 1 | |
513 | loop 60 times: | |
514 | add {_x} to x-coordinate of {_loc} | |
515 | add {_y} to y-coordinate of {_loc} | |
516 | add {_z} to z-coordinate of {_loc} | |
517 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 2 0" | |
518 | execute console command "/particle fireworksSpark %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.4 0.4 0.4 0 10" | |
519 | execute console command "/particle magicCrit %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 20" | |
520 | execute console command "/particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.075 0 0.075 5" | |
521 | if {_loc} is not air: | |
522 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
523 | execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
524 | stop | |
525 | loop living entities in radius 2 of {_loc}: | |
526 | loop-entity is not event-player | |
527 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
528 | damage loop-entity by 13 hearts | |
529 | stop | |
530 | wait a ticks | |
531 | else: | |
532 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime16.%player%}%秒&9&l》" to player | |
533 | ||
534 | on rightclick with iron axe: | |
535 | cancel event | |
536 | if {cooltime17.%player%} <= 0: | |
537 | set {cooltime17.%player%} to 14 | |
538 | apply slowness 100 to event-player for 1 seconds | |
539 | execute console command "/execute %player% ~ ~ ~ /particle enchantmenttable ~ ~ ~ 0.5 0 0.5 0 100" | |
540 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 0" | |
541 | wait 1 seconds | |
542 | set {_loc} to location of event-player | |
543 | add 1.5 to y-coordinate of {_loc} | |
544 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
545 | set {_a2} to yaw of location of event-player - 270 | |
546 | set {_a1} to Pitch of location of event-player * -1 | |
547 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
548 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
549 | set {_y} to cos(90-{_a1}) * 1 | |
550 | loop 3 times: | |
551 | add {_x} to x-coordinate of {_loc} | |
552 | add {_y} to y-coordinate of {_loc} | |
553 | add {_z} to z-coordinate of {_loc} | |
554 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.grass.break master %player% ~ ~ ~ 1 0" | |
555 | execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.3 0 0.3 0 100 0 @a 4099" | |
556 | if {_loc} is block: | |
557 | stop | |
558 | loop living entities in radius 2 of {_loc}: | |
559 | loop-entity is not event-player | |
560 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
561 | execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
562 | damage loop-entity by 8 hearts | |
563 | stop | |
564 | wait a tick | |
565 | else: | |
566 | send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime17.%player%}%秒&9&l》" to player | |
567 | ||
568 | command /checkitem: | |
569 | trigger: | |
570 | if player is holding air: | |
571 | send "&cアイテムを手に持ってください" to player | |
572 | else: | |
573 | set {_itemname} to name of held item | |
574 | set {_itemid} to id of player's held item | |
575 | set {_itemdur} to durability of player's held item | |
576 | send "&7Item name&f: %{_itemname}%" | |
577 | send "&7Item id&f: &r%{_itemid}%:%{_itemdur}%" | |
578 | ||
579 | on damage: | |
580 | damage was caused by fall | |
581 | cancel event | |
582 | ||
583 | on join: | |
584 | set rf max hp of player to 40 |