Date: 2023/12/15 11:29:44 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
Screaming_Blade:
type: item
debug: false
material: netherite_sword
display name: "<red>Screaming Blade"
mechanisms:
hides: all
attribute_modifiers:
generic_attack_damage:
1:
operation: add_number
amount: 13
slot: hand
recipes:
1:
type: shaped
input:
- air|redstone_block|air
- potato|netherite_sword|potato
- air|redstone_block|air
lore:
- "<blue>Combat"
- ""
- "<dark_red>The sword of life consumption!!!"
- ""
- "<dark_red><bold>GIVES TEMPORARY HEALTH BOOST ON PLAYER KILL!!!"
Screaming_Blade_Script:
type: world
events:
after player damages player with:screaming_blade:
- stop if:<context.entity.is_spawned>
- cast health_boost duration:30s amplifier:4 hide_particles no_ambient no_icon
- cast regeneration duration:8s amplifier:4 hide_particles no_ambient no_icon
Triple_Strike_Sword:
type: item
debug: false
material: diamond_sword
display name: "<green>Triple Strike Sword"
mechanisms:
hides: all
attribute_modifiers:
generic_attack_damage:
1:
operation: add_number
amount: 9
slot: hand
recipes:
1:
type: shaped
input:
- air|diamond_sword|air
- diamond_sword|netherite_sword|diamond_sword
- air|diamond_sword|air
lore:
- "<blue>Combat"
- ""
- "<dark_green><bold>RIGHT CLICK TO DO 3 STRIKES OF DAMAGE TO OPPONENT."
Triple_Strike_Sword_Script:
type: world
events:
on player damages entity with:triple_strike_sword:
- flag <context.damager> triple_strike_sword_last_hit:<context.entity>
on player right clicks block with:triple_strike_sword:
- if !<player.has_flag[triple_strike_sword_cooldown]>:
- flag item triple_strike_sword_cooldown:false
- hurt 9 <player.flag[triple_strike_sword_last_hit]>
- wait 0.25
- hurt 9 <player.flag[triple_strike_sword_last_hit]>
- wait 0.25
- hurt 9 <player.flag[triple_strike_sword_last_hit]>
- wait 4.5s
- flag item triple_strike_sword_cooldown:true
Mining_Drill :
type: item
debug: false
material: netherite_pickaxe
display name: "<yellow>Mining Drill"
mechanisms:
hides: all
attribute_modifiers:
generic_attack_speed:
1:
operation: add_number
amount: 50
slot: hand
recipes:
1:
type: shaped
input:
- air|redstone_block|air
- potato|netherite_sword|potato
- air|redstone_block|air
lore:
- "<blue>Combat"
- ""
- "<dark_blue><bold>RIGHT CLICK FOR TEMPORARY MINING BOOST!!!"
Mining_Drill_Script:
type: world
events:
- define drillSpeed:0
after player right clicks block with:mining_drill:
- define drillSpeed:++
- cast fast_digging duration:10s amplifier:drillSpeed