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

Method Encode

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

Source from the content-addressed store, hash-verified

9}
10
11func (b Target) Encode() (string, BlockProperties) {
12 return "minecraft:target", BlockProperties{
13 "power": strconv.Itoa(b.Power),
14 }
15}
16
17func (b Target) New(props BlockProperties) Block {
18 return Target{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected