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

Method Encode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected