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
15 lines
323 B
Go
15 lines
323 B
Go
package item
|
|
|
|
// RawGold is a raw metal resource obtained from mining gold ore.
|
|
type RawGold struct{}
|
|
|
|
// SmeltInfo ...
|
|
func (RawGold) SmeltInfo() SmeltInfo {
|
|
return newOreSmeltInfo(NewStack(GoldIngot{}, 1), 1)
|
|
}
|
|
|
|
// EncodeItem ...
|
|
func (RawGold) EncodeItem() (name string, meta int16) {
|
|
return "minecraft:raw_gold", 0
|
|
}
|