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
22 lines
489 B
Go
22 lines
489 B
Go
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
|
|
}
|