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

Method Encode

server/world/block/boneBlock.go:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5}
6
7func (b BoneBlock) Encode() (string, BlockProperties) {
8 return "minecraft:bone_block", BlockProperties{
9 "axis": b.Axis,
10 }
11}
12
13func (b BoneBlock) New(props BlockProperties) Block {
14 return BoneBlock{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected