ðŸĶĪMountService

Service for spawning mounts.

Example usage:

-- Give all entities Dodo Birds when the match starts
Events.MatchStart(function(event)
    for i, player in ipairs(PlayerService.getPlayers()) do
        MountService.spawnMount(MountType.DODO_BIRD, player)
    end
end)

Functions

spawnMount(mountType: MountType, player: Player): void

Spawns a mount of the given type for the specified player and mounts the player.

BedWars mounts available for use are contained in the MountType list.

Last updated