(props BlockProperties)
| 19 | } |
| 20 | |
| 21 | func (b CommandBlock) New(props BlockProperties) Block { |
| 22 | return CommandBlock{ |
| 23 | Conditional: props["conditional"] != "false", |
| 24 | Facing: props["facing"], |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func (b CommandBlock) BlockEntity(pos pos.BlockPosition) chunk.BlockEntity { |
| 29 | return chunk.BlockEntity{ |
nothing calls this directly
no outgoing calls
no test coverage detected