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

Method Encode

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

Source from the content-addressed store, hash-verified

12}
13
14func (b Hopper) Encode() (string, BlockProperties) {
15 return "minecraft:hopper", BlockProperties{
16 "enabled": strconv.FormatBool(b.Enabled),
17 "facing": b.Facing,
18 }
19}
20
21func (b Hopper) New(props BlockProperties) Block {
22 return Hopper{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected