github.com/df-mc/dragonfly@v0.9.13/server/block/dripstone.go (about) 1 package block 2 3 // Dripstone is a rock block that allows pointed dripstone to grow beneath it. 4 type Dripstone struct { 5 solid 6 bassDrum 7 } 8 9 // BreakInfo ... 10 func (d Dripstone) BreakInfo() BreakInfo { 11 return newBreakInfo(1.5, pickaxeHarvestable, pickaxeEffective, oneOf(d)).withBlastResistance(5) 12 } 13 14 // EncodeItem ... 15 func (d Dripstone) EncodeItem() (name string, meta int16) { 16 return "minecraft:dripstone_block", 0 17 } 18 19 // EncodeBlock ... 20 func (d Dripstone) EncodeBlock() (string, map[string]any) { 21 return "minecraft:dripstone_block", nil 22 }