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

     1  package item
     2  
     3  // ClayBall is obtained from mining clay blocks
     4  type ClayBall struct{}
     5  
     6  // SmeltInfo ...
     7  func (ClayBall) SmeltInfo() SmeltInfo {
     8  	return newSmeltInfo(NewStack(Brick{}, 1), 0.3)
     9  }
    10  
    11  // EncodeItem ...
    12  func (ClayBall) EncodeItem() (name string, meta int16) {
    13  	return "minecraft:clay_ball", 0
    14  }