26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
17 lines
293 B
Go
17 lines
293 B
Go
package item
|
|
|
|
import "time"
|
|
|
|
// Bowl is a container that can hold certain foods.
|
|
type Bowl struct{}
|
|
|
|
// FuelInfo ...
|
|
func (Bowl) FuelInfo() FuelInfo {
|
|
return newFuelInfo(time.Second * 10)
|
|
}
|
|
|
|
// EncodeItem ...
|
|
func (Bowl) EncodeItem() (name string, meta int16) {
|
|
return "minecraft:bowl", 0
|
|
}
|