26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
24 lines
399 B
Go
24 lines
399 B
Go
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
|
|
}
|