Uses of Class
io.github.thebusybiscuit.slimefun4.core.services.localization.Language
Packages that use Language
Package
Description
This package contains all extensions of
Event that Slimefun provides
and allows you to listen to.This package provides a few "Services" that Slimefun uses.
This package contains everything related to translations and localization.
-
Uses of Language in io.github.thebusybiscuit.slimefun4.api.events
Methods in io.github.thebusybiscuit.slimefun4.api.events that return LanguageModifier and TypeMethodDescriptionPlayerLanguageChangeEvent.getNewLanguage()This returns theLanguagethat thisPlayerwants to switch to.PlayerLanguageChangeEvent.getPreviousLanguage()This returns theLanguagethat thisPlayerwas using before.Constructors in io.github.thebusybiscuit.slimefun4.api.events with parameters of type LanguageModifierConstructorDescriptionPlayerLanguageChangeEvent(org.bukkit.entity.Player p, Language from, Language to) -
Uses of Language in io.github.thebusybiscuit.slimefun4.core.services
Methods in io.github.thebusybiscuit.slimefun4.core.services that return LanguageModifier and TypeMethodDescriptionLocalizationService.getDefaultLanguage()LocalizationService.getLanguage(String id) LocalizationService.getLanguage(org.bukkit.entity.Player p) Methods in io.github.thebusybiscuit.slimefun4.core.services that return types with arguments of type LanguageMethods in io.github.thebusybiscuit.slimefun4.core.services with parameters of type LanguageModifier and TypeMethodDescriptiondoubleLocalizationService.calculateProgress(Language lang) This returns the progress of translation for any givenLanguage. -
Uses of Language in io.github.thebusybiscuit.slimefun4.core.services.localization
Methods in io.github.thebusybiscuit.slimefun4.core.services.localization that return LanguageModifier and TypeMethodDescriptionabstract LanguageSlimefunLocalization.getDefaultLanguage()This method returns the defaultLanguageof thisServerabstract LanguageSlimefunLocalization.getLanguage(String id) This method attempts to return theLanguagewith the given language code.abstract LanguageSlimefunLocalization.getLanguage(org.bukkit.entity.Player p) This method returns the currently selectedLanguageof aPlayer.Methods in io.github.thebusybiscuit.slimefun4.core.services.localization that return types with arguments of type LanguageModifier and TypeMethodDescriptionabstract Collection<Language> SlimefunLocalization.getLanguages()This method returns a fullCollectionof everyLanguagethat was found.Methods in io.github.thebusybiscuit.slimefun4.core.services.localization with parameters of type LanguageModifier and TypeMethodDescriptionLanguageFile.getFilePath(Language language) SlimefunLocalization.getTotalKeys(Language lang)