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

Method Encode

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

Source from the content-addressed store, hash-verified

10}
11
12func (b SpruceSign) Encode() (string, BlockProperties) {
13 return "minecraft:spruce_sign", BlockProperties{
14 "rotation": strconv.Itoa(b.Rotation),
15 "waterlogged": strconv.FormatBool(b.Waterlogged),
16 }
17}
18
19func (b SpruceSign) New(props BlockProperties) Block {
20 return SpruceSign{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected