21 lines
392 B
Go
21 lines
392 B
Go
|
|
package item
|
||
|
|
|
||
|
|
import "github.com/sandertv/gophertunnel/minecraft/text"
|
||
|
|
|
||
|
|
type RedstoneWire struct{}
|
||
|
|
|
||
|
|
// EncodeItem ...
|
||
|
|
func (RedstoneWire) EncodeItem() (name string, meta int16) {
|
||
|
|
return "minecraft:redstone", 0
|
||
|
|
}
|
||
|
|
|
||
|
|
// TrimMaterial ...
|
||
|
|
func (RedstoneWire) TrimMaterial() string {
|
||
|
|
return "redstone"
|
||
|
|
}
|
||
|
|
|
||
|
|
// MaterialColour ...
|
||
|
|
func (RedstoneWire) MaterialColour() string {
|
||
|
|
return text.Redstone
|
||
|
|
}
|