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

Method Encode

server/world/block/cherryHangingSign.go:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func (b CherryHangingSign) Encode() (string, BlockProperties) {
14 return "minecraft:cherry_hanging_sign", BlockProperties{
15 "waterlogged": strconv.FormatBool(b.Waterlogged),
16 "attached": strconv.FormatBool(b.Attached),
17 "rotation": strconv.Itoa(b.Rotation),
18 }
19}
20
21func (b CherryHangingSign) New(props BlockProperties) Block {
22 return CherryHangingSign{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected