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

Method Encode

server/world/block/diamondBlock.go:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4}
5
6func (b DiamondBlock) Encode() (string, BlockProperties) {
7 return "minecraft:diamond_block", BlockProperties{}
8}
9
10func (b DiamondBlock) New(props BlockProperties) Block {
11 return DiamondBlock{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected