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

Method New

server/world/block/stoneButton.go:21–27  ·  view source on GitHub ↗
(props BlockProperties)

Source from the content-addressed store, hash-verified

19}
20
21func (b StoneButton) New(props BlockProperties) Block {
22 return StoneButton{
23 Facing: props["facing"],
24 Powered: props["powered"] != "false",
25 Face: props["face"],
26 }
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected