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

Method BlockEntity

server/world/block/commandBlock.go:28–33  ·  view source on GitHub ↗
(pos pos.BlockPosition)

Source from the content-addressed store, hash-verified

26}
27
28func (b CommandBlock) BlockEntity(pos pos.BlockPosition) chunk.BlockEntity {
29 return chunk.BlockEntity{
30 Id: "minecraft:command_block",
31 X: pos.X(), Y: pos.Y(), Z: pos.Z(),
32 }
33}

Callers

nothing calls this directly

Calls 3

XMethod · 0.80
YMethod · 0.80
ZMethod · 0.80

Tested by

no test coverage detected