Files
mc/server/block/smooth_basalt.go
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

23 lines
540 B
Go

package block
// SmoothBasalt is a decorative solid block obtained by smelting basalt.
type SmoothBasalt struct {
solid
bassDrum
}
// EncodeBlock ...
func (SmoothBasalt) EncodeBlock() (string, map[string]any) {
return "minecraft:smooth_basalt", nil
}
// EncodeItem ...
func (SmoothBasalt) EncodeItem() (name string, meta int16) {
return "minecraft:smooth_basalt", 0
}
// BreakInfo ...
func (s SmoothBasalt) BreakInfo() BreakInfo {
return newBreakInfo(1.25, pickaxeHarvestable, pickaxeEffective, oneOf(s)).withBlastResistance(21)
}