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

Method Encode

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

Source from the content-addressed store, hash-verified

5}
6
7func (b SpruceLog) Encode() (string, BlockProperties) {
8 return "minecraft:spruce_log", BlockProperties{
9 "axis": b.Axis,
10 }
11}
12
13func (b SpruceLog) New(props BlockProperties) Block {
14 return SpruceLog{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected