()
| 9 | } |
| 10 | |
| 11 | func (b Target) Encode() (string, BlockProperties) { |
| 12 | return "minecraft:target", BlockProperties{ |
| 13 | "power": strconv.Itoa(b.Power), |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | func (b Target) New(props BlockProperties) Block { |
| 18 | return Target{ |
nothing calls this directly
no outgoing calls
no test coverage detected