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

Method BlockEntity

server/world/block/structureBlock.go:24–29  ·  view source on GitHub ↗
(pos pos.BlockPosition)

Source from the content-addressed store, hash-verified

22}
23
24func (b StructureBlock) BlockEntity(pos pos.BlockPosition) chunk.BlockEntity {
25 return chunk.BlockEntity{
26 Id: "minecraft:structure_block",
27 X: pos.X(), Y: pos.Y(), Z: pos.Z(),
28 }
29}

Callers

nothing calls this directly

Calls 3

XMethod · 0.80
YMethod · 0.80
ZMethod · 0.80

Tested by

no test coverage detected