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

Method Encode

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

Source from the content-addressed store, hash-verified

13}
14
15func (b Vault) Encode() (string, BlockProperties) {
16 return "minecraft:vault", BlockProperties{
17 "facing": b.Facing,
18 "ominous": strconv.FormatBool(b.Ominous),
19 "vault_state": b.VaultState,
20 }
21}
22
23func (b Vault) New(props BlockProperties) Block {
24 return Vault{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected