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

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