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

     1  package item
     2  
     3  // Compass is an item used to find the spawn position of a world.
     4  type Compass struct{}
     5  
     6  // EncodeItem ...
     7  func (Compass) EncodeItem() (name string, meta int16) {
     8  	return "minecraft:compass", 0
     9  }