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

Method Encode

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

Source from the content-addressed store, hash-verified

14}
15
16func (b Fire) Encode() (string, BlockProperties) {
17 return "minecraft:fire", BlockProperties{
18 "up": strconv.FormatBool(b.Up),
19 "west": strconv.FormatBool(b.West),
20 "age": strconv.Itoa(b.Age),
21 "east": strconv.FormatBool(b.East),
22 "north": strconv.FormatBool(b.North),
23 "south": strconv.FormatBool(b.South),
24 }
25}
26
27func (b Fire) New(props BlockProperties) Block {
28 return Fire{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected