Add support for inventory layout as ASCII art (#906)

Inventory art mostly made by Mhowser
TODO: Implement remaining inventory types
This commit is contained in:
ORelio 2021-05-29 15:21:38 +02:00
parent b9935ab8fa
commit f16e9e87dd
13 changed files with 351 additions and 22 deletions

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:4.0.30319.42000
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
// 變更將會遺失。
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@ -13,13 +13,13 @@ namespace MinecraftClient {
/// <summary>
/// 用於查詢當地語系化字串等的強類型資源類別。
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
// 類別透過 ResGen 或 Visual Studio 這類工具。
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
// (利用 /str 選項),或重建您的 VS 專案。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class DefaultConfigResource {
@ -33,7 +33,7 @@ namespace MinecraftClient {
}
/// <summary>
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ namespace MinecraftClient {
}
/// <summary>
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
/// 使用這個強類型資源類別的資源查閱。
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
@ -61,8 +61,133 @@ namespace MinecraftClient {
}
/// <summary>
/// 查詢類似 # Minecraft Console Client v1.16.3
///# Startup Config File
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║ Brewing Stand ║
///║ ╔═══╗ ⡈ ⠄╔═══╗ ║
///║ ║ 4 ╟───╮ ⢠⡐⢈║ 3 ║ ┃ ║
///║ ╚═══╝ ╭─╯ ⠂⡠⢂╚╦╦╦╝ ┃ ║
///║ ╰───■■■■ ║║║ ▼ ║
///║ ╔═══╦═╝║╚═╦═══╗ ║
///║ ║ 0 ║╔═╩═╗║ 2 ║ ║
///║ ╚═══╝║ 1 ║╚═══╝ ║
///║ Inventory ╚═══╝ ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║10 ║11 ║12 ║13 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_BrewingStand {
get {
return ResourceManager.GetString("ContainerType_BrewingStand", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║ Crafting ║
///║ ╔═══╦═══╦═══╗ ║
///║ ║ 1 ║ 2 ║ 3 ║ ║
///║ ╠═══╬═══╬═══╣ ╔═══╗ ║
///║ ║ 4 ║ 5 ║ 6 ║ ━━▶ ║ 0 ║ ║
///║ ╠═══╬═══╬═══╣ ╚═══╝ ║
///║ ║ 7 ║ 8 ║ 9 ║ ║
///║ ╚═══╩═══╩═══╝ ║
///║ Inventory ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║18 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_Crafting {
get {
return ResourceManager.GetString("ContainerType_Crafting", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║ Container ║
///║ ╔═══╦═══╦═══╗ ║
///║ ║ 0 ║ 1 ║ 2 ║ ║
///║ ╠═══╬═══╬═══╣ ║
///║ ║ 3 ║ 4 ║ 5 ║ ║
///║ ╠═══╬═══╬═══╣ ║
///║ ║ 6 ║ 7 ║ 8 ║ ║
///║ ╚═══╩═══╩═══╝ ║
///║ Inventory ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_Generic_3x3 {
get {
return ResourceManager.GetString("ContainerType_Generic_3x3", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║ Chest ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║ 0 ║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║18 ║19 ║20 ║21 ║22 ║23 ║24 ║25 ║26 ║║
///║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
///║ Inventory ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_Generic_9x3 {
get {
return ResourceManager.GetString("ContainerType_Generic_9x3", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║ Large Container ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║ 0 ║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║18 ║19 ║20 ║21 ║22 ║23 ║24 ║25 ║26 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╬═══╣║
///║║36 ║37 ║38 ║39 ║40 ║41 ║42 ║43 ║44 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_Generic_9x6 {
get {
return ResourceManager.GetString("ContainerType_Generic_9x6", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
///║╔═══╦═══════════╗ ║
///║║ 5 ║ ███ ║ ╔═══╦═══╗ ║
///║╠═══╣ ███ ║ ║ 1 ║ 2 ║ ╔═══╗║
///║║ 6 ║ ███████ ║ ╠═══╬═══╣━━▶║ 0 ║║
///║╠═══╣ ███████ ║ ║ 3 ║ 4 ║ ╚═══╝║
///║║ 7 ║ ███████ ║ ╚═══╩═══╝ ║
///║╠═══╣ ███ ╠═══╗ ║
///║║ 8 ║ ███ ║45 ║ ║
///║╚═══╩═══════════╩═══╝ ║
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]&quot;;.
/// </summary>
public static string ContainerType_PlayerInventory {
get {
return ResourceManager.GetString("ContainerType_PlayerInventory", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to # Startup Config File
///
///[Main]
///
@ -73,14 +198,15 @@ namespace MinecraftClient {
///login=
///password=
///serverip=
///type=mojang # Account type. mojang or microsoft
///method=mcc # Microsoft Account sign-in method. mcc OR browser
///
///# Advanced settings
///
///language=en_GB
///consoletitle=%username%@%serverip% - Minecraft Console Client
///internalcmdchar=slash # Use &apos;none&apos;, &apos;slash&apos; or &apos;backslash&apos;
///splitmessagedelay=2 # Seconds between each part of a long message
///botowners=Player1,Player2,Player3 # Name list or [字串的其餘部分已遭截斷]&quot;; 的當地語系化字串。
///messagec [rest of string was truncated]&quot;;.
/// </summary>
public static string MinecraftClient {
get {
@ -89,18 +215,19 @@ namespace MinecraftClient {
}
/// <summary>
/// 查詢類似 [mcc]
/// Looks up a localized string similar to [mcc]
///# Messages from MCC itself
///mcc.description=Console Client for MC {0} to {1} - v{2} - By ORelio &amp; Contributors
///mcc.keyboard_debug=Keyboard debug mode: Press any key to display info
///mcc.setting=Loading Settings from {0}
///mcc.login=Login :
///mcc.login_basic_io=Please type the username or email of your choice.
///mcc.password=Password :
///mcc.password_basic_io=Please type the password for {0}.
///mcc.password_hidden=Password : {0}
///mcc.offline=§8You chose to run in offline mode.
///mcc.session_invalid=§8Cach [字串的其餘部分已遭截斷]&quot;; 的當地語系化字串。
///mcc.session_invalid=§8Cached session is invalid or expired.
///mcc.session_valid=§8Cached session is still valid for {0}.
///mcc.connecting=Connecting to {0}...
///mcc.ip=Server IP :
///mcc.use_version=§8Using Minecraft version [rest of string was truncated]&quot;;.
/// </summary>
public static string TranslationEnglish {
get {