()
| 14 | } |
| 15 | |
| 16 | func (b Fire) Encode() (string, BlockProperties) { |
| 17 | return "minecraft:fire", BlockProperties{ |
| 18 | "up": strconv.FormatBool(b.Up), |
| 19 | "west": strconv.FormatBool(b.West), |
| 20 | "age": strconv.Itoa(b.Age), |
| 21 | "east": strconv.FormatBool(b.East), |
| 22 | "north": strconv.FormatBool(b.North), |
| 23 | "south": strconv.FormatBool(b.South), |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func (b Fire) New(props BlockProperties) Block { |
| 28 | return Fire{ |
nothing calls this directly
no outgoing calls
no test coverage detected