Files

22 lines
489 B
Go
Raw Permalink Normal View History

2026-07-09 08:33:57 +08:00
package block
// Amethyst is a decorative block crafted from four amethyst shards.
type Amethyst struct {
solid
}
// BreakInfo ...
func (a Amethyst) BreakInfo() BreakInfo {
return newBreakInfo(1.5, pickaxeHarvestable, pickaxeHarvestable, oneOf(a))
}
// EncodeItem ...
func (Amethyst) EncodeItem() (name string, meta int16) {
return "minecraft:amethyst_block", 0
}
// EncodeBlock ...
func (Amethyst) EncodeBlock() (string, map[string]any) {
return "minecraft:amethyst_block", nil
}