MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / New

Method New

server/world/block/structureBlock.go:18–22  ·  view source on GitHub ↗
(props BlockProperties)

Source from the content-addressed store, hash-verified

16}
17
18func (b StructureBlock) New(props BlockProperties) Block {
19 return StructureBlock{
20 Mode: props["mode"],
21 }
22}
23
24func (b StructureBlock) BlockEntity(pos pos.BlockPosition) chunk.BlockEntity {
25 return chunk.BlockEntity{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected