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