(props BlockProperties)
| 16 | } |
| 17 | |
| 18 | func (b StructureBlock) New(props BlockProperties) Block { |
| 19 | return StructureBlock{ |
| 20 | Mode: props["mode"], |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | func (b StructureBlock) BlockEntity(pos pos.BlockPosition) chunk.BlockEntity { |
| 25 | return chunk.BlockEntity{ |
nothing calls this directly
no outgoing calls
no test coverage detected