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

Method Encode

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

Source from the content-addressed store, hash-verified

9}
10
11func (b Snow) Encode() (string, BlockProperties) {
12 return "minecraft:snow", BlockProperties{
13 "layers": strconv.Itoa(b.Layers),
14 }
15}
16
17func (b Snow) New(props BlockProperties) Block {
18 return Snow{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected