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

Method Encode

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

Source from the content-addressed store, hash-verified

10}
11
12func (b StructureBlock) Encode() (string, BlockProperties) {
13 return "minecraft:structure_block", BlockProperties{
14 "mode": b.Mode,
15 }
16}
17
18func (b StructureBlock) New(props BlockProperties) Block {
19 return StructureBlock{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected