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

Method Encode

server/world/block/bell.go:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (b Bell) Encode() (string, BlockProperties) {
16 return "minecraft:bell", BlockProperties{
17 "powered": strconv.FormatBool(b.Powered),
18 "attachment": b.Attachment,
19 "facing": b.Facing,
20 }
21}
22
23func (b Bell) New(props BlockProperties) Block {
24 return Bell{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected