Files
mc/server/block/mud_bricks.go
T

23 lines
518 B
Go
Raw Normal View History

2026-07-09 08:33:57 +08:00
package block
// MudBricks are a decorative block obtained by crafting 4 packed mud.
type MudBricks struct {
solid
bassDrum
}
// BreakInfo ...
func (m MudBricks) BreakInfo() BreakInfo {
return newBreakInfo(1.5, alwaysHarvestable, nothingEffective, oneOf(m)).withBlastResistance(15)
}
// EncodeItem ...
func (MudBricks) EncodeItem() (name string, meta int16) {
return "minecraft:mud_bricks", 0
}
// EncodeBlock ...
func (MudBricks) EncodeBlock() (string, map[string]any) {
return "minecraft:mud_bricks", nil
}