()
| 13 | } |
| 14 | |
| 15 | func (b Lectern) Encode() (string, BlockProperties) { |
| 16 | return "minecraft:lectern", BlockProperties{ |
| 17 | "has_book": strconv.FormatBool(b.HasBook), |
| 18 | "powered": strconv.FormatBool(b.Powered), |
| 19 | "facing": b.Facing, |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | func (b Lectern) New(props BlockProperties) Block { |
| 24 | return Lectern{ |
nothing calls this directly
no outgoing calls
no test coverage detected