Documentation
¶
Index ¶
- func ClearAllPlayerInv(p *player.Player)
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func FormatTime(seconds int) string
- func InvalidPlayerCtxWorld(ctx *player.Context, w *world.World) bool
- func IsItemUnbreakable(stack item.Stack) bool
- func LogErrors(a ...any)
- func Mgl64Vec3ToMgl32Vec3(v mgl64.Vec3) mgl32.Vec3
- func RemoveDir(dir string) error
- func ResetPlayer(p *player.Player)
- func ResetPlayerAttributes(p *player.Player)
- func ResetPlayerExp(p *player.Player)
- func SetItemAsUnbreakable(stack item.Stack) item.Stack
- func UpdatePlayerNameTagWithHealth(p *player.Player, additionalHealth float64)
- func UpdateXPBarCooldownDisplay(p *player.Player, lastCooldownStart time.Time, cooldown time.Duration)
- type Location
- type SetHealthSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearAllPlayerInv ¶
func FormatTime ¶
func IsItemUnbreakable ¶
func ResetPlayer ¶
func ResetPlayerAttributes ¶
func ResetPlayerExp ¶
Types ¶
type Location ¶
func ParseSliceOfLocation ¶
func (Location) TeleportPlayer ¶
func (Location) ToMgl32Vec3 ¶
func (Location) ToMgl64Vec3 ¶
type SetHealthSource ¶
type SetHealthSource struct { }
func (SetHealthSource) HealingSource ¶
func (SetHealthSource) HealingSource()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.