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

Method Encode

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

Source from the content-addressed store, hash-verified

9}
10
11func (b OakSapling) Encode() (string, BlockProperties) {
12 return "minecraft:oak_sapling", BlockProperties{
13 "stage": strconv.Itoa(b.Stage),
14 }
15}
16
17func (b OakSapling) New(props BlockProperties) Block {
18 return OakSapling{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected