github.com/df-mc/dragonfly@v0.9.13/server/item/blaze_rod.go (about)

     1  package item
     2  
     3  import "time"
     4  
     5  // BlazeRod is an item exclusively obtained from blazes.
     6  type BlazeRod struct{}
     7  
     8  // FuelInfo ...
     9  func (BlazeRod) FuelInfo() FuelInfo {
    10  	return newFuelInfo(time.Second * 120)
    11  }
    12  
    13  // EncodeItem ...
    14  func (BlazeRod) EncodeItem() (name string, meta int16) {
    15  	return "minecraft:blaze_rod", 0
    16  }