github.com/df-mc/dragonfly@v0.9.13/server/item/raw_iron.go (about) 1 package item 2 3 // RawIron is a raw metal resource obtained from mining iron ore. 4 type RawIron struct{} 5 6 // SmeltInfo ... 7 func (RawIron) SmeltInfo() SmeltInfo { 8 return newOreSmeltInfo(NewStack(IronIngot{}, 1), 0.7) 9 } 10 11 // EncodeItem ... 12 func (RawIron) EncodeItem() (name string, meta int16) { 13 return "minecraft:raw_iron", 0 14 }