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

Method Encode

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

Source from the content-addressed store, hash-verified

5}
6
7func (b PitcherPlant) Encode() (string, BlockProperties) {
8 return "minecraft:pitcher_plant", BlockProperties{
9 "half": b.Half,
10 }
11}
12
13func (b PitcherPlant) New(props BlockProperties) Block {
14 return PitcherPlant{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected