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