github.com/df-mc/dragonfly@v0.9.13/server/block/mud_bricks.go (about) 1 package block 2 3 // MudBricks are a decorative block obtained by crafting 4 packed mud. 4 type MudBricks struct { 5 solid 6 bassDrum 7 } 8 9 // BreakInfo ... 10 func (m MudBricks) BreakInfo() BreakInfo { 11 return newBreakInfo(2, alwaysHarvestable, nothingEffective, oneOf(m)) 12 } 13 14 // EncodeItem ... 15 func (MudBricks) EncodeItem() (name string, meta int16) { 16 return "minecraft:mud_bricks", 0 17 } 18 19 // EncodeBlock ... 20 func (MudBricks) EncodeBlock() (string, map[string]any) { 21 return "minecraft:mud_bricks", nil 22 }