up3
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
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
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package item
|
||||
|
||||
import "time"
|
||||
|
||||
// Charcoal is an item obtained by smelting logs or wood.
|
||||
type Charcoal struct{}
|
||||
|
||||
// FuelInfo ...
|
||||
func (Charcoal) FuelInfo() FuelInfo {
|
||||
return newFuelInfo(time.Second * 80)
|
||||
}
|
||||
|
||||
// EncodeItem ...
|
||||
func (Charcoal) EncodeItem() (name string, meta int16) {
|
||||
return "minecraft:charcoal", 0
|
||||
}
|
||||
Reference in New Issue
Block a user