Files
mc/server/block/air.go
T

24 lines
399 B
Go
Raw Normal View History

2026-07-09 08:33:57 +08:00
package block
// Air is the block present in otherwise empty space.
type Air struct {
empty
replaceable
transparent
}
// HasLiquidDrops ...
func (Air) HasLiquidDrops() bool {
return false
}
// EncodeItem ...
func (Air) EncodeItem() (name string, meta int16) {
return "minecraft:air", 0
}
// EncodeBlock ...
func (Air) EncodeBlock() (string, map[string]any) {
return "minecraft:air", nil
}