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
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
|
|
}
|