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
17 lines
370 B
Go
17 lines
370 B
Go
package item
|
|
|
|
// PotterySherd is an item that can be found from brushing suspicious sand or gravel.
|
|
type PotterySherd struct {
|
|
Type SherdType
|
|
}
|
|
|
|
// EncodeItem ...
|
|
func (s PotterySherd) EncodeItem() (name string, meta int16) {
|
|
return "minecraft:" + s.Type.String() + "_pottery_sherd", 0
|
|
}
|
|
|
|
// PotDecoration ...
|
|
func (PotterySherd) PotDecoration() bool {
|
|
return true
|
|
}
|