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

Method Encode

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

Source from the content-addressed store, hash-verified

10}
11
12func (b StoneSlab) Encode() (string, BlockProperties) {
13 return "minecraft:stone_slab", BlockProperties{
14 "type": b.Type,
15 "waterlogged": strconv.FormatBool(b.Waterlogged),
16 }
17}
18
19func (b StoneSlab) New(props BlockProperties) Block {
20 return StoneSlab{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected