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

     1  package block
     2  
     3  // EndStone is a block found in The End.
     4  type EndStone struct {
     5  	solid
     6  	bassDrum
     7  }
     8  
     9  // BreakInfo ...
    10  func (e EndStone) BreakInfo() BreakInfo {
    11  	return newBreakInfo(3, pickaxeHarvestable, pickaxeEffective, oneOf(e)).withBlastResistance(45)
    12  }
    13  
    14  // EncodeItem ...
    15  func (EndStone) EncodeItem() (name string, meta int16) {
    16  	return "minecraft:end_stone", 0
    17  }
    18  
    19  // EncodeBlock ...
    20  func (EndStone) EncodeBlock() (string, map[string]any) {
    21  	return "minecraft:end_stone", nil
    22  }