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

     1  package item
     2  
     3  // PotterySherd is an item that can be found from brushing suspicious sand or gravel.
     4  type PotterySherd struct {
     5  	Type SherdType
     6  }
     7  
     8  // EncodeItem ...
     9  func (s PotterySherd) EncodeItem() (name string, meta int16) {
    10  	return "minecraft:" + s.Type.String() + "_pottery_sherd", 0
    11  }
    12  
    13  // PotDecoration ...
    14  func (PotterySherd) PotDecoration() bool {
    15  	return true
    16  }