@@ -237,6 +237,9 @@ object EssentialConfig : Vigilant2(), GuiEssentialPlatform.Config {
237237 val showQuickActionBarState = property(" General.Experience.Quick Action Bar" , true )
238238 var showQuickActionBar by showQuickActionBarState
239239
240+ val replaceWindowTitleState = property(" General.General.Replace Window Title" , true )
241+ var replaceWindowTitle by replaceWindowTitleState
242+
240243 val screenshotBrowserItemsPerRowState = property(" Hidden.Hidden.screenshotBrowserItemsPerRow" , 3 )
241244 var screenshotBrowserItemsPerRow by screenshotBrowserItemsPerRowState
242245
@@ -384,62 +387,70 @@ object EssentialConfig : Vigilant2(), GuiEssentialPlatform.Config {
384387 category(" Emotes" ) {
385388 subcategory(" General" ) {
386389 switch(! disableEmotesState) {
387- name = " Show emotes"
388- description = " Show emote animations on yourself and other players."
389- }
390-
391- selector(allowEmoteSounds) {
392- name = " Allow emote sounds"
393- description = " Select who you can hear emote sounds from."
394- options = AllowEmoteSounds .entries.map { it.label }
395- }
396-
397- switch(thirdPersonEmotesState) {
398- name = " Play emotes in third person view"
399- description = " Emotes will be shown in third-person view. You can still toggle between front and back view."
400- }
401-
402- switch(emotePreviewState) {
403- name = " Emote preview"
404- description = " When playing emotes, show a model of your character performing the emote in the upper left corner of the screen."
390+ name = " Emotes"
391+ description = " Better express yourself with emotes."
392+ }
393+ dynamic {
394+ if (! disableEmotesState()) {
395+ selector(allowEmoteSounds) {
396+ name = " Allow emote sounds"
397+ description = " Select who you can hear emote sounds from."
398+ options = AllowEmoteSounds .entries.map { it.label }
399+ }
400+
401+ switch(thirdPersonEmotesState) {
402+ name = " Play emotes in third person view"
403+ description = " Emotes will be shown in third-person view. You can still toggle between front and back view."
404+ }
405+
406+ switch(emotePreviewState) {
407+ name = " Emote preview"
408+ description = " When playing emotes, show a model of your character performing the emote in the upper left corner of the screen."
409+ }
410+ }
405411 }
406412 }
407413 }
408414
409415 category(" Cosmetics" ) {
410416 subcategory(" General" ) {
411417 switch(! disableCosmeticsState) {
412- name = " Show cosmetics"
413- description = " Show cosmetics on yourself and other players."
414- }
415- switch(ownCosmeticsHiddenStateWithSource.bimap({ it.first }, { it to true })) {
416- name = " Hide your cosmetics"
417- description = " Hides your equipped cosmetics for all players."
418- }
419-
420- val swapFirstTwo: (Int ) -> Int = { if (it in 0 .. 1 ) (it + 1 ) % 2 else it }
421-
422- selector(cosmeticArmorSettingSelfState.bimap(swapFirstTwo, swapFirstTwo)) {
423- name = " Cosmetics & armor visibility on me"
424- description = " Cosmetics and armor may conflict with each other on your player. This setting does not effect what other players see."
425- options = listOf (" Only cosmetics" , " Only armor" , " Cosmetics and armor" )
426- }
427-
428- selector(cosmeticArmorSettingOtherState.bimap(swapFirstTwo, swapFirstTwo)) {
429- name = " Cosmetics & armor visibility on others"
430- description = " Cosmetics and armor may conflict with each other on other players. This setting does not effect what other players see."
431- options = listOf (" Only cosmetics" , " Only armor" , " Cosmetics and armor" )
432- }
433-
434- switch(disableCosmeticsInInventoryState) {
435- name = " Hide cosmetics in inventory"
436- description = " Hides your equipped cosmetics on the player preview inside your inventory."
418+ name = " Cosmetics"
419+ description = " Enhance your Minecraft character with cosmetics."
420+ }
421+ dynamic {
422+ if (! disableCosmeticsState()) {
423+ switch(ownCosmeticsHiddenStateWithSource.bimap({ it.first }, { it to true })) {
424+ name = " Hide your cosmetics"
425+ description = " Hide your equipped cosmetics for everyone."
426+ }
427+
428+ val swapFirstTwo: (Int ) -> Int = { if (it in 0 .. 1 ) (it + 1 ) % 2 else it }
429+
430+ selector(cosmeticArmorSettingSelfState.bimap(swapFirstTwo, swapFirstTwo)) {
431+ name = " Cosmetics & armor visibility on me"
432+ description = " Cosmetics and armor may conflict with each other on your player. This setting does not effect what other players see."
433+ options = listOf (" Only cosmetics" , " Only armor" , " Cosmetics and armor" )
434+ }
435+
436+ selector(cosmeticArmorSettingOtherState.bimap(swapFirstTwo, swapFirstTwo)) {
437+ name = " Cosmetics & armor visibility on others"
438+ description = " Cosmetics and armor may conflict with each other on other players. This setting does not effect what other players see."
439+ options = listOf (" Only cosmetics" , " Only armor" , " Cosmetics and armor" )
440+ }
441+
442+ switch(disableCosmeticsInInventoryState) {
443+ name = " Hide cosmetics in inventory"
444+ description = " Hides your equipped cosmetics on the player preview inside your inventory."
445+ }
446+
447+ switch(hideCosmeticsWhenServerOverridesSkinState) {
448+ name = " Hide cosmetics on server skins"
449+ description = " Hides cosmetics on players when the joined server modifies the user’s skins."
450+ }
451+ }
437452 }
438453
439- switch(hideCosmeticsWhenServerOverridesSkinState) {
440- name = " Hide cosmetics on server skins"
441- description = " Hides cosmetics on players when the joined server modifies the user’s skins."
442- }
443454 }
444455 }
445456
@@ -512,14 +523,17 @@ object EssentialConfig : Vigilant2(), GuiEssentialPlatform.Config {
512523 }
513524 }
514525
515- subcategory(" Essential Indicator" ) {
516- switch(showEssentialIndicatorOnTabState) {
517- name = " Essential indicator in tab-list"
518- description = " Shows the indicator on other Essential players in the tab-list."
519- }
526+ subcategory(" Nameplates" ) {
520527 switch(showEssentialIndicatorOnNametagState) {
521- name = " Essential indicator on nameplates"
522- description = " Shows the indicator on other Essential players’ nameplates."
528+ name = " Essential icon on nameplates"
529+ description = " Shows the Essential icon on Essential players’ nameplates."
530+ }
531+ }
532+
533+ subcategory(" Tab-list" ) {
534+ switch(showEssentialIndicatorOnTabState) {
535+ name = " Essential icon in tab-list"
536+ description = " Shows the Essential icon on Essential players in the tab-list."
523537 }
524538 }
525539
0 commit comments