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

Method SetAbilities

server/player/state/playerEntity.go:67–69  ·  view source on GitHub ↗
(abs level.PlayerAbilities)

Source from the content-addressed store, hash-verified

65}
66
67func (p *PlayerEntity) SetAbilities(abs level.PlayerAbilities) {
68 p.abilities.Set(abs)
69}
70
71func (p *PlayerEntity) GameMode() level.GameMode {
72 return level.GameMode(p.gameMode.Load())

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected