-
Notifications
You must be signed in to change notification settings - Fork 143
/
register.go
43 lines (41 loc) · 1.3 KB
/
register.go
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
package enchantment
import "github.com/df-mc/dragonfly/server/item"
func init() {
item.RegisterEnchantment(0, Protection{})
item.RegisterEnchantment(1, FireProtection{})
item.RegisterEnchantment(2, FeatherFalling{})
item.RegisterEnchantment(3, BlastProtection{})
item.RegisterEnchantment(4, ProjectileProtection{})
item.RegisterEnchantment(5, Thorns{})
// TODO: (6) Respiration.
// TODO: (7) Depth Strider.
item.RegisterEnchantment(8, AquaAffinity{})
item.RegisterEnchantment(9, Sharpness{})
// TODO: (10) Smite. (Requires undead mobs)
// TODO: (11) Bane of Arthropods. (Requires arthropod mobs)
// TODO: (12) Knockback.
item.RegisterEnchantment(13, FireAspect{})
// TODO: (14) Looting.
item.RegisterEnchantment(15, Efficiency{})
item.RegisterEnchantment(16, SilkTouch{})
item.RegisterEnchantment(17, Unbreaking{})
// TODO: (18) Fortune.
// TODO: (19) Power.
// TODO: (20) Punch.
// TODO: (21) Flame.
// TODO: (22) Infinity.
// TODO: (23) Luck of the Sea.
// TODO: (24) Lure.
// TODO: (25) Frost Walker.
// TODO: (26) Mending.
// TODO: (27) Curse of Binding.
// TODO: (28) Curse of Vanishing.
// TODO: (29) Impaling.
// TODO: (30) Riptide.
// TODO: (31) Loyalty.
// TODO: (32) Channeling.
// TODO: (33) Multishot.
// TODO: (34) Piercing.
// TODO: (35) Quick Charge.
// TODO: (36) Soul Speed.
}