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

     1  package block
     2  
     3  // EndBricks is a block made from combining four endstone blocks together.
     4  type EndBricks struct {
     5  	solid
     6  	bassDrum
     7  }
     8  
     9  // BreakInfo ...
    10  func (e EndBricks) BreakInfo() BreakInfo {
    11  	return newBreakInfo(0.8, pickaxeHarvestable, pickaxeEffective, oneOf(e))
    12  }
    13  
    14  // EncodeItem ...
    15  func (EndBricks) EncodeItem() (name string, meta int16) {
    16  	return "minecraft:end_bricks", 0
    17  }
    18  
    19  // EncodeBlock ...
    20  func (EndBricks) EncodeBlock() (string, map[string]any) {
    21  	return "minecraft:end_bricks", nil
    22  }