github.com/df-mc/dragonfly@v0.9.13/server/item/raw_copper.go (about)

     1  package item
     2  
     3  // RawCopper is a raw metal resource obtained from mining copper ore.
     4  type RawCopper struct{}
     5  
     6  // SmeltInfo ...
     7  func (RawCopper) SmeltInfo() SmeltInfo {
     8  	return newOreSmeltInfo(NewStack(CopperIngot{}, 1), 0.7)
     9  }
    10  
    11  // EncodeItem ...
    12  func (RawCopper) EncodeItem() (name string, meta int16) {
    13  	return "minecraft:raw_copper", 0
    14  }