github.com/df-mc/dragonfly@v0.9.13/server/item/stick.go (about) 1 package item 2 3 import "time" 4 5 // Stick is one of the most abundant resources used for crafting many tools and items. 6 type Stick struct{} 7 8 // FuelInfo ... 9 func (Stick) FuelInfo() FuelInfo { 10 return newFuelInfo(time.Second * 5) 11 } 12 13 // EncodeItem ... 14 func (s Stick) EncodeItem() (name string, meta int16) { 15 return "minecraft:stick", 0 16 }