Uses of Class
dev.ua.theroer.magicutils.bootstrap.LanguageBootstrap
Packages that use LanguageBootstrap
-
Uses of LanguageBootstrap in dev.ua.theroer.magicutils.bootstrap
Methods in dev.ua.theroer.magicutils.bootstrap that return LanguageBootstrapModifier and TypeMethodDescriptionLanguageBootstrap.addMagicUtilsMessages(boolean addMagicUtilsMessages) Toggles adding the bundled MagicUtils default language entries.LanguageBootstrap.bindClientLocaleSync(boolean bindClientLocaleSync) Toggles synchronizing a player's language from client locale updates.LanguageBootstrap.bindLoggerLanguage(boolean bindLoggerLanguage) Toggles binding the language manager to the logger so log output is localized.LanguageBootstrap.initLanguage(boolean initLanguage) Toggles automatic language initialization viaLanguageManager.init(String).Sets the default language code to initialize.LanguageBootstrap.minimal()Disables all automatic language wiring for callers that manage theLanguageManagerandMessagesthemselves.LanguageBootstrap.registerMessages(boolean registerMessages) Toggles registering a scopedMessagesmanager keyed by the plugin name or mod id.LanguageBootstrap.setMessagesManager(boolean setMessagesManager) Toggles setting the globalMessageslanguage manager to this plugin/mod's manager.LanguageBootstrap.translations(@Nullable Consumer<LanguageManager> translations) Registers plugin/mod translations against the language manager on build.LanguageBootstrap.withRecommendedDefaults()Applies the recommended defaults: every flag enabled.