mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Implemented effects support, as a command, chat notification and added in TUI mode
This commit is contained in:
parent
a7a3566756
commit
f6446b198d
15 changed files with 728 additions and 15 deletions
|
|
@ -1843,16 +1843,25 @@ namespace MinecraftClient {
|
|||
/// <summary>
|
||||
/// Looks up a localized string similar to Show inventory layout as ASCII art in inventory command..
|
||||
/// </summary>
|
||||
internal static string Main_Advanced_show_inventory_layout {
|
||||
get {
|
||||
return ResourceManager.GetString("Main.Advanced.show_inventory_layout", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to System messages for server ops..
|
||||
/// </summary>
|
||||
internal static string Main_Advanced_show_system_messages {
|
||||
internal static string Main_Advanced_show_inventory_layout {
|
||||
get {
|
||||
return ResourceManager.GetString("Main.Advanced.show_inventory_layout", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Show full effect names and levels in the TUI status bar instead of compact effect icons only..
|
||||
/// </summary>
|
||||
internal static string Main_Advanced_show_effect_names_in_tui {
|
||||
get {
|
||||
return ResourceManager.GetString("Main.Advanced.show_effect_names_in_tui", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to System messages for server ops..
|
||||
/// </summary>
|
||||
internal static string Main_Advanced_show_system_messages {
|
||||
get {
|
||||
return ResourceManager.GetString("Main.Advanced.show_system_messages", resourceCulture);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -705,6 +705,9 @@ Usage examples: "/tell <mybot> connect Server1", "/connect Server2"</value
|
|||
<data name="Main.Advanced.show_inventory_layout" xml:space="preserve">
|
||||
<value>Show inventory layout as ASCII art in inventory command.</value>
|
||||
</data>
|
||||
<data name="Main.Advanced.show_effect_names_in_tui" xml:space="preserve">
|
||||
<value>Show full effect names and levels in the TUI status bar instead of compact effect icons only.</value>
|
||||
</data>
|
||||
<data name="Main.Advanced.show_system_messages" xml:space="preserve">
|
||||
<value>System messages for server ops.</value>
|
||||
</data>
|
||||
|
|
|
|||
|
|
@ -3522,6 +3522,42 @@ namespace MinecraftClient {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to list your currently active effects..
|
||||
/// </summary>
|
||||
internal static string cmd_effects_desc {
|
||||
get {
|
||||
return ResourceManager.GetString("cmd.effects.desc", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to - {0} ({1}).
|
||||
/// </summary>
|
||||
internal static string cmd_effects_entry {
|
||||
get {
|
||||
return ResourceManager.GetString("cmd.effects.entry", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Active effects:.
|
||||
/// </summary>
|
||||
internal static string cmd_effects_header {
|
||||
get {
|
||||
return ResourceManager.GetString("cmd.effects.header", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No active effects..
|
||||
/// </summary>
|
||||
internal static string cmd_effects_none {
|
||||
get {
|
||||
return ResourceManager.GetString("cmd.effects.none", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Display Health and Food saturation..
|
||||
/// </summary>
|
||||
|
|
@ -6520,5 +6556,113 @@ namespace MinecraftClient {
|
|||
return ResourceManager.GetString("tui.inventory.item_count", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You're now under {0} effect (Duration: {1})..
|
||||
/// </summary>
|
||||
internal static string bot_effect_gained {
|
||||
get {
|
||||
return ResourceManager.GetString("bot.effect.gained", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Effect {0} has expired.
|
||||
/// </summary>
|
||||
internal static string bot_effect_expired {
|
||||
get {
|
||||
return ResourceManager.GetString("bot.effect.expired", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unlimited.
|
||||
/// </summary>
|
||||
internal static string effect_duration_unlimited {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.unlimited", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to a.
|
||||
/// </summary>
|
||||
internal static string effect_article_a {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.article.a", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to an.
|
||||
/// </summary>
|
||||
internal static string effect_article_an {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.article.an", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}h.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_hours {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.hours", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}h {1}m.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_hours_minutes {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.hours_minutes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}m.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_minutes {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.minutes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}m {1}s.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_minutes_seconds {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.minutes_seconds", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}s.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_seconds {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.seconds", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ∞.
|
||||
/// </summary>
|
||||
internal static string effect_duration_short_unlimited {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.duration.short.unlimited", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} {1}.
|
||||
/// </summary>
|
||||
internal static string effect_name_with_amplifier {
|
||||
get {
|
||||
return ResourceManager.GetString("effect.name.with_amplifier", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1237,6 +1237,18 @@ Change EnableEmoji=false in the settings if the display is confusing.</value>
|
|||
<data name="cmd.follow.usage" xml:space="preserve">
|
||||
<value>follow <player name|stop> [-f] (Use -f to enable un-safe walking)</value>
|
||||
</data>
|
||||
<data name="cmd.effects.desc" xml:space="preserve">
|
||||
<value>list your currently active effects.</value>
|
||||
</data>
|
||||
<data name="cmd.effects.entry" xml:space="preserve">
|
||||
<value>- {0} ({1})</value>
|
||||
</data>
|
||||
<data name="cmd.effects.header" xml:space="preserve">
|
||||
<value>Active effects:</value>
|
||||
</data>
|
||||
<data name="cmd.effects.none" xml:space="preserve">
|
||||
<value>No active effects.</value>
|
||||
</data>
|
||||
<data name="cmd.health.desc" xml:space="preserve">
|
||||
<value>Display Health and Food saturation.</value>
|
||||
</data>
|
||||
|
|
@ -2299,4 +2311,40 @@ see item details.</value>
|
|||
<data name="tui.inventory.item_count" xml:space="preserve">
|
||||
<value>{0} items</value>
|
||||
</data>
|
||||
</root>
|
||||
<data name="bot.effect.gained" xml:space="preserve">
|
||||
<value>You're now under {0} effect (Duration: {1}).</value>
|
||||
</data>
|
||||
<data name="bot.effect.expired" xml:space="preserve">
|
||||
<value>Effect {0} has expired</value>
|
||||
</data>
|
||||
<data name="effect.duration.unlimited" xml:space="preserve">
|
||||
<value>Unlimited</value>
|
||||
</data>
|
||||
<data name="effect.article.a" xml:space="preserve">
|
||||
<value>a</value>
|
||||
</data>
|
||||
<data name="effect.article.an" xml:space="preserve">
|
||||
<value>an</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.hours" xml:space="preserve">
|
||||
<value>{0}h</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.hours_minutes" xml:space="preserve">
|
||||
<value>{0}h {1}m</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.minutes" xml:space="preserve">
|
||||
<value>{0}m</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.minutes_seconds" xml:space="preserve">
|
||||
<value>{0}m {1}s</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.seconds" xml:space="preserve">
|
||||
<value>{0}s</value>
|
||||
</data>
|
||||
<data name="effect.duration.short.unlimited" xml:space="preserve">
|
||||
<value>∞</value>
|
||||
</data>
|
||||
<data name="effect.name.with_amplifier" xml:space="preserve">
|
||||
<value>{0} {1}</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue