15 lines
296 B
Go
15 lines
296 B
Go
|
|
package item
|
||
|
|
|
||
|
|
// Brick is an item made from clay, and is used for making bricks and flower pots.
|
||
|
|
type Brick struct{}
|
||
|
|
|
||
|
|
// EncodeItem ...
|
||
|
|
func (b Brick) EncodeItem() (name string, meta int16) {
|
||
|
|
return "minecraft:brick", 0
|
||
|
|
}
|
||
|
|
|
||
|
|
// PotDecoration ...
|
||
|
|
func (Brick) PotDecoration() bool {
|
||
|
|
return true
|
||
|
|
}
|