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

Method Encode

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

Source from the content-addressed store, hash-verified

9}
10
11func (b Composter) Encode() (string, BlockProperties) {
12 return "minecraft:composter", BlockProperties{
13 "level": strconv.Itoa(b.Level),
14 }
15}
16
17func (b Composter) New(props BlockProperties) Block {
18 return Composter{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected