Date: 2018/10/23 08:08:10 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
Non-working players craft:
CustomStuffHandler:
type: world
events:
on player right clicks with Hawthorn:
- if "<player.flag[Hawthorn Cooldown]>" {
- narrate "Hawthorn is cooling down..."
} else {
- flag player "Hawthorn Cooldown" duration:3s
- shoot e@fireball height:0.05 gravity:0.01
}
on player crafts Hawthorn:
- if <player.has_flag[FirstBossKilled].not>:
- narrate "You need to kill the first boss to craft this"
- determine cancelled
#Items
Hawthorn:
type: item
material: i@stick
display name: <green>Hawthorn
enchantments:
- durability: 1
recipe:
- i@blaze_powder|i@stick|i@blaze_powder
- i@air|i@stick|i@air
- i@air|i@stick|i@air
Working players craft:
CustomStuffHandler:
type: world
events:
on player crafts diamond_hoe:
- if <player.has_flag[FirstBossKilled].not>:
- narrate "You need to kill the first boss to craft this"
- determine cancelled