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

     1  package block
     2  
     3  // Air is the block present in otherwise empty space.
     4  type Air struct {
     5  	empty
     6  	replaceable
     7  	transparent
     8  }
     9  
    10  // HasLiquidDrops ...
    11  func (Air) HasLiquidDrops() bool {
    12  	return false
    13  }
    14  
    15  // EncodeItem ...
    16  func (Air) EncodeItem() (name string, meta int16) {
    17  	return "minecraft:air", 0
    18  }
    19  
    20  // EncodeBlock ...
    21  func (Air) EncodeBlock() (string, map[string]any) {
    22  	return "minecraft:air", nil
    23  }