Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
func
(p *PlayerEntity) SetAbilities(abs level.PlayerAbilities) {
68
p.abilities.Set(abs)
69
}
70
71
func
(p *PlayerEntity) GameMode() level.GameMode {
72
return
level.GameMode(p.gameMode.Load())
Callers
nothing calls this directly
Calls
1
Set
Method · 0.45
Tested by
no test coverage detected