()
| 11 | } |
| 12 | |
| 13 | func (b LightningRod) Encode() (string, BlockProperties) { |
| 14 | return "minecraft:lightning_rod", BlockProperties{ |
| 15 | "facing": b.Facing, |
| 16 | "powered": strconv.FormatBool(b.Powered), |
| 17 | "waterlogged": strconv.FormatBool(b.Waterlogged), |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func (b LightningRod) New(props BlockProperties) Block { |
| 22 | return LightningRod{ |
nothing calls this directly
no outgoing calls
no test coverage detected