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

     1  package item
     2  
     3  // Leather is an animal skin used to make item frames, armor and books.
     4  type Leather struct{}
     5  
     6  // EncodeItem ...
     7  func (Leather) EncodeItem() (name string, meta int16) {
     8  	return "minecraft:leather", 0
     9  }