17 lines
316 B
Go
17 lines
316 B
Go
|
|
package item
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
// BlazeRod is an item exclusively obtained from blazes.
|
||
|
|
type BlazeRod struct{}
|
||
|
|
|
||
|
|
// FuelInfo ...
|
||
|
|
func (BlazeRod) FuelInfo() FuelInfo {
|
||
|
|
return newFuelInfo(time.Second * 120)
|
||
|
|
}
|
||
|
|
|
||
|
|
// EncodeItem ...
|
||
|
|
func (BlazeRod) EncodeItem() (name string, meta int16) {
|
||
|
|
return "minecraft:blaze_rod", 0
|
||
|
|
}
|