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

Method Encode

server/world/chunk/section/block.go:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (block UnknownBlock) Encode() (string, map[string]string) {
16 return block.name, block.props
17}
18
19func (block UnknownBlock) New(props map[string]string) Block {
20 return UnknownBlock{name: block.name, props: props}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected