Files

17 lines
370 B
Go
Raw Permalink Normal View History

2026-07-09 08:33:57 +08:00
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
}