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

Method Encode

server/world/block/cherryButton.go:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func (b CherryButton) Encode() (string, BlockProperties) {
14 return "minecraft:cherry_button", BlockProperties{
15 "face": b.Face,
16 "facing": b.Facing,
17 "powered": strconv.FormatBool(b.Powered),
18 }
19}
20
21func (b CherryButton) New(props BlockProperties) Block {
22 return CherryButton{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected