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

     1  package item
     2  
     3  // Brick is an item made from clay, and is used for making bricks and flower pots.
     4  type Brick struct{}
     5  
     6  // EncodeItem ...
     7  func (b Brick) EncodeItem() (name string, meta int16) {
     8  	return "minecraft:brick", 0
     9  }
    10  
    11  // PotDecoration ...
    12  func (Brick) PotDecoration() bool {
    13  	return true
    14  }