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

     1  package item
     2  
     3  // GoldIngot is a metal ingot melted from raw gold or obtained from loot chests.
     4  type GoldIngot struct{}
     5  
     6  // EncodeItem ...
     7  func (GoldIngot) EncodeItem() (name string, meta int16) {
     8  	return "minecraft:gold_ingot", 0
     9  }
    10  
    11  // PayableForBeacon ...
    12  func (GoldIngot) PayableForBeacon() bool {
    13  	return true
    14  }