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