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
23 lines
481 B
Go
23 lines
481 B
Go
package block
|
|
|
|
// EndStone is a block found in The End.
|
|
type EndStone struct {
|
|
solid
|
|
bassDrum
|
|
}
|
|
|
|
// BreakInfo ...
|
|
func (e EndStone) BreakInfo() BreakInfo {
|
|
return newBreakInfo(3, pickaxeHarvestable, pickaxeEffective, oneOf(e)).withBlastResistance(45)
|
|
}
|
|
|
|
// EncodeItem ...
|
|
func (EndStone) EncodeItem() (name string, meta int16) {
|
|
return "minecraft:end_stone", 0
|
|
}
|
|
|
|
// EncodeBlock ...
|
|
func (EndStone) EncodeBlock() (string, map[string]any) {
|
|
return "minecraft:end_stone", nil
|
|
}
|