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

Method Dimension

server/player/chunks.go:11–13  ·  view source on GitHub ↗

Dimension returns the dimension struct this player is in

()

Source from the content-addressed store, hash-verified

9
10// Dimension returns the dimension struct this player is in
11func (p *Player) Dimension() *dimension.Dimension {
12 return p.dimensionManager.Dimension(p.DimensionName())
13}
14
15func (p *Player) sendSpawnChunks() error {
16 viewDistance := p.ViewDistance()

Callers 3

sendSpawnChunksMethod · 0.95
debug.goFile · 0.45
StartMethod · 0.45

Calls 1

DimensionNameMethod · 0.80

Tested by

no test coverage detected