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

     1  package item
     2  
     3  import "time"
     4  
     5  // Bowl is a container that can hold certain foods.
     6  type Bowl struct{}
     7  
     8  // FuelInfo ...
     9  func (Bowl) FuelInfo() FuelInfo {
    10  	return newFuelInfo(time.Second * 10)
    11  }
    12  
    13  // EncodeItem ...
    14  func (Bowl) EncodeItem() (name string, meta int16) {
    15  	return "minecraft:bowl", 0
    16  }