27 lines
593 B
Go
27 lines
593 B
Go
|
|
package item
|
||
|
|
|
||
|
|
import "github.com/sandertv/gophertunnel/minecraft/text"
|
||
|
|
|
||
|
|
// NetheriteIngot is a rare mineral crafted with 4 pieces of netherite scrap and 4 gold ingots.
|
||
|
|
type NetheriteIngot struct{}
|
||
|
|
|
||
|
|
// EncodeItem ...
|
||
|
|
func (NetheriteIngot) EncodeItem() (name string, meta int16) {
|
||
|
|
return "minecraft:netherite_ingot", 0
|
||
|
|
}
|
||
|
|
|
||
|
|
// TrimMaterial ...
|
||
|
|
func (NetheriteIngot) TrimMaterial() string {
|
||
|
|
return "netherite"
|
||
|
|
}
|
||
|
|
|
||
|
|
// MaterialColour ...
|
||
|
|
func (NetheriteIngot) MaterialColour() string {
|
||
|
|
return text.Netherite
|
||
|
|
}
|
||
|
|
|
||
|
|
// PayableForBeacon ...
|
||
|
|
func (NetheriteIngot) PayableForBeacon() bool {
|
||
|
|
return true
|
||
|
|
}
|