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

Method Encode

server/world/block/observer.go:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12func (b Observer) Encode() (string, BlockProperties) {
13 return "minecraft:observer", BlockProperties{
14 "powered": strconv.FormatBool(b.Powered),
15 "facing": b.Facing,
16 }
17}
18
19func (b Observer) New(props BlockProperties) Block {
20 return Observer{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected