mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Added more ASCII Art for Inventories and more inventory sub commands
Added more ASCII Art for Inventories and more inventory sub commands. The following commands have been added: ``` /inventory inventories /inventory search <item type> [count] ```
This commit is contained in:
commit
5fec15186c
9 changed files with 255 additions and 49 deletions
|
|
@ -82,6 +82,79 @@ namespace MinecraftClient.Commands
|
||||||
else
|
else
|
||||||
return Translations.Get("cmd.inventory.container_not_found");
|
return Translations.Get("cmd.inventory.container_not_found");
|
||||||
}
|
}
|
||||||
|
else if (args[0].ToLower().StartsWith("inventories") || args[0].ToLower().StartsWith("i"))
|
||||||
|
{
|
||||||
|
Dictionary<int, Container> inventories = handler.GetInventories();
|
||||||
|
List<int> availableIds = inventories.Keys.ToList();
|
||||||
|
StringBuilder response = new();
|
||||||
|
response.AppendLine(Translations.Get("cmd.inventory.inventories_available"));
|
||||||
|
|
||||||
|
foreach (int id in availableIds)
|
||||||
|
response.AppendLine(String.Format(" #{0} - {1}§8", id, inventories[id].Title));
|
||||||
|
|
||||||
|
return response.ToString();
|
||||||
|
}
|
||||||
|
else if (args[0].ToLower().StartsWith("search") || args[0].ToLower().StartsWith("s"))
|
||||||
|
{
|
||||||
|
if (args.Length < 2)
|
||||||
|
return GetCmdDescTranslated();
|
||||||
|
|
||||||
|
if (!Enum.TryParse(args[1], true, out ItemType parsedItemType))
|
||||||
|
return GetCmdDescTranslated();
|
||||||
|
|
||||||
|
bool shouldUseItemCount = args.Length >= 3;
|
||||||
|
int itemCount = 0;
|
||||||
|
|
||||||
|
if (shouldUseItemCount && !int.TryParse(args[2], out itemCount))
|
||||||
|
return GetCmdDescTranslated();
|
||||||
|
|
||||||
|
Dictionary<int, Container> inventories = handler.GetInventories();
|
||||||
|
Dictionary<int, List<Item>> foundItems = new();
|
||||||
|
|
||||||
|
List<Container> availableInventories = inventories.Values.ToList();
|
||||||
|
|
||||||
|
availableInventories.ForEach(inventory =>
|
||||||
|
{
|
||||||
|
inventory.Items.Values
|
||||||
|
.ToList()
|
||||||
|
.FindAll(item => item.Type == parsedItemType && (shouldUseItemCount ? item.Count == itemCount : true))
|
||||||
|
.ForEach(item =>
|
||||||
|
{
|
||||||
|
if (!foundItems.ContainsKey(inventory.ID))
|
||||||
|
{
|
||||||
|
foundItems.Add(inventory.ID, new List<Item>() { item });
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<Item> invItems = foundItems[inventory.ID];
|
||||||
|
invItems.Add(item);
|
||||||
|
foundItems.Remove(inventory.ID);
|
||||||
|
foundItems.Add(inventory.ID, invItems);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
if (foundItems.Count == 0)
|
||||||
|
return Translations.Get("cmd.inventory.no_found_items");
|
||||||
|
|
||||||
|
StringBuilder response = new();
|
||||||
|
|
||||||
|
response.AppendLine(Translations.Get("cmd.inventory.found_items") + ":");
|
||||||
|
|
||||||
|
foreach ((int invId, List<Item> itemsList) in new SortedDictionary<int, List<Item>>(foundItems))
|
||||||
|
{
|
||||||
|
if (itemsList.Count > 0)
|
||||||
|
{
|
||||||
|
response.AppendLine(String.Format("{0} (#{1}):", inventories[invId].Title, invId));
|
||||||
|
|
||||||
|
foreach (Item item in itemsList)
|
||||||
|
response.AppendLine(String.Format("\t- {0}", item.ToString()));
|
||||||
|
|
||||||
|
response.AppendLine(" ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return response.ToString();
|
||||||
|
}
|
||||||
else if (args[0].ToLower() == "help")
|
else if (args[0].ToLower() == "help")
|
||||||
{
|
{
|
||||||
if (args.Length >= 2)
|
if (args.Length >= 2)
|
||||||
|
|
@ -228,6 +301,8 @@ namespace MinecraftClient.Commands
|
||||||
"drop" => Translations.Get("cmd.inventory.help.drop") + usageStr + "/inventory <player|container|<id>> drop <slot> [all]\nAll means drop full stack",
|
"drop" => Translations.Get("cmd.inventory.help.drop") + usageStr + "/inventory <player|container|<id>> drop <slot> [all]\nAll means drop full stack",
|
||||||
"creativegive" => Translations.Get("cmd.inventory.help.creativegive") + usageStr + "/inventory creativegive <slot> <itemtype> <amount>",
|
"creativegive" => Translations.Get("cmd.inventory.help.creativegive") + usageStr + "/inventory creativegive <slot> <itemtype> <amount>",
|
||||||
"creativedelete" => Translations.Get("cmd.inventory.help.creativedelete") + usageStr + "/inventory creativedelete <slot>",
|
"creativedelete" => Translations.Get("cmd.inventory.help.creativedelete") + usageStr + "/inventory creativedelete <slot>",
|
||||||
|
"inventories" => Translations.Get("cmd.inventory.help.inventories") + usageStr + "/inventory inventories",
|
||||||
|
"search" => Translations.Get("cmd.inventory.help.search") + usageStr + "/inventory search <item type> [count]",
|
||||||
"help" => GetHelp(),
|
"help" => GetHelp(),
|
||||||
_ => Translations.Get("cmd.inventory.help.unknown") + GetAvailableActions(),
|
_ => Translations.Get("cmd.inventory.help.unknown") + GetAvailableActions(),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
99
MinecraftClient/DefaultConfigResource.Designer.cs
generated
99
MinecraftClient/DefaultConfigResource.Designer.cs
generated
|
|
@ -8,7 +8,8 @@
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace MinecraftClient {
|
namespace MinecraftClient
|
||||||
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -22,23 +23,28 @@ namespace MinecraftClient {
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
public class DefaultConfigResource {
|
public class DefaultConfigResource
|
||||||
|
{
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
internal DefaultConfigResource() {
|
internal DefaultConfigResource()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
public static global::System.Resources.ResourceManager ResourceManager {
|
public static global::System.Resources.ResourceManager ResourceManager
|
||||||
get {
|
{
|
||||||
if (object.ReferenceEquals(resourceMan, null)) {
|
get
|
||||||
|
{
|
||||||
|
if (object.ReferenceEquals(resourceMan, null))
|
||||||
|
{
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.DefaultConfigResource", typeof(DefaultConfigResource).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.DefaultConfigResource", typeof(DefaultConfigResource).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
|
|
@ -51,11 +57,14 @@ namespace MinecraftClient {
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
public static global::System.Globalization.CultureInfo Culture {
|
public static global::System.Globalization.CultureInfo Culture
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
set {
|
set
|
||||||
|
{
|
||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -75,8 +84,10 @@ namespace MinecraftClient {
|
||||||
///║║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║10 ║11 ║12 ║13 ║║
|
///║║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║10 ║11 ║12 ║13 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_BrewingStand {
|
public static string ContainerType_BrewingStand
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_BrewingStand", resourceCulture);
|
return ResourceManager.GetString("ContainerType_BrewingStand", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -96,12 +107,22 @@ namespace MinecraftClient {
|
||||||
///║║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║18 ║║
|
///║║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║18 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Crafting {
|
public static string ContainerType_Crafting
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_Crafting", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Crafting", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string ContainerType_Furnace
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ResourceManager.GetString("ContainerType_Furnace", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
|
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
|
||||||
///║ Container ║
|
///║ Container ║
|
||||||
|
|
@ -117,8 +138,10 @@ namespace MinecraftClient {
|
||||||
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_3x3 {
|
public static string ContainerType_Generic_3x3
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_Generic_3x3", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_3x3", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -138,8 +161,10 @@ namespace MinecraftClient {
|
||||||
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
|
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_9x3 {
|
public static string ContainerType_Generic_9x3
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_Generic_9x3", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_9x3", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -159,12 +184,30 @@ namespace MinecraftClient {
|
||||||
///║║36 ║37 ║38 ║39 ║40 ║41 ║42 ║43 ║44 ║║
|
///║║36 ║37 ║38 ║39 ║40 ║41 ║42 ║43 ║44 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_9x6 {
|
public static string ContainerType_Generic_9x6
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_Generic_9x6", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_9x6", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string ContainerType_Grindstone
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ResourceManager.GetString("ContainerType_Grindstone", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string ContainerType_Hopper
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ResourceManager.GetString("ContainerType_Hopper", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
|
/// Looks up a localized string similar to ╔═════════════════════════════════════╗
|
||||||
///║╔═══╦═══════════╗ ║
|
///║╔═══╦═══════════╗ ║
|
||||||
|
|
@ -180,8 +223,10 @@ namespace MinecraftClient {
|
||||||
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_PlayerInventory {
|
public static string ContainerType_PlayerInventory
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("ContainerType_PlayerInventory", resourceCulture);
|
return ResourceManager.GetString("ContainerType_PlayerInventory", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -208,8 +253,10 @@ namespace MinecraftClient {
|
||||||
///internalcmdchar=slash # Use 'none', 'slash' or 'backslash'
|
///internalcmdchar=slash # Use 'none', 'slash' or 'backslash'
|
||||||
///messagec [rest of string was truncated]";.
|
///messagec [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string MinecraftClient {
|
public static string MinecraftClient
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("MinecraftClient", resourceCulture);
|
return ResourceManager.GetString("MinecraftClient", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -229,8 +276,10 @@ namespace MinecraftClient {
|
||||||
///mcc.ip=Server IP :
|
///mcc.ip=Server IP :
|
||||||
///mcc.use_version=§8Using Minecraft version [rest of string was truncated]";.
|
///mcc.use_version=§8Using Minecraft version [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string TranslationEnglish {
|
public static string TranslationEnglish
|
||||||
get {
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
return ResourceManager.GetString("TranslationEnglish", resourceCulture);
|
return ResourceManager.GetString("TranslationEnglish", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -124,6 +124,9 @@
|
||||||
<data name="ContainerType_Crafting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ContainerType_Crafting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\containers\ContainerType.Crafting.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>Resources\containers\ContainerType.Crafting.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ContainerType_Furnace" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>Resources\containers\ContainerType.Furnace.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
|
</data>
|
||||||
<data name="ContainerType_Generic_3x3" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ContainerType_Generic_3x3" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\containers\ContainerType.Generic_3x3.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>Resources\containers\ContainerType.Generic_3x3.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
@ -133,6 +136,12 @@
|
||||||
<data name="ContainerType_Generic_9x6" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ContainerType_Generic_9x6" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\containers\ContainerType.Generic_9x6.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>Resources\containers\ContainerType.Generic_9x6.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ContainerType_Grindstone" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>Resources\containers\ContainerType.Grindstone.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
|
</data>
|
||||||
|
<data name="ContainerType_Hopper" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>Resources\containers\ContainerType.Hopper.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
|
</data>
|
||||||
<data name="ContainerType_PlayerInventory" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ContainerType_PlayerInventory" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\containers\ContainerType.PlayerInventory.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>Resources\containers\ContainerType.PlayerInventory.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ namespace MinecraftClient.Inventory
|
||||||
Loom,
|
Loom,
|
||||||
Merchant,
|
Merchant,
|
||||||
ShulkerBox,
|
ShulkerBox,
|
||||||
|
SmightingTable,
|
||||||
Smoker,
|
Smoker,
|
||||||
Cartography,
|
Cartography,
|
||||||
Stonecutter,
|
Stonecutter,
|
||||||
|
|
|
||||||
|
|
@ -55,21 +55,21 @@ namespace MinecraftClient.Inventory
|
||||||
case ContainerType.Generic_9x6: return DefaultConfigResource.ContainerType_Generic_9x6;
|
case ContainerType.Generic_9x6: return DefaultConfigResource.ContainerType_Generic_9x6;
|
||||||
case ContainerType.Generic_3x3: return DefaultConfigResource.ContainerType_Generic_3x3;
|
case ContainerType.Generic_3x3: return DefaultConfigResource.ContainerType_Generic_3x3;
|
||||||
case ContainerType.Crafting: return DefaultConfigResource.ContainerType_Crafting;
|
case ContainerType.Crafting: return DefaultConfigResource.ContainerType_Crafting;
|
||||||
case ContainerType.BlastFurnace: return null;
|
case ContainerType.BlastFurnace: return DefaultConfigResource.ContainerType_Furnace;
|
||||||
case ContainerType.Furnace: return null;
|
case ContainerType.Furnace: return DefaultConfigResource.ContainerType_Furnace;
|
||||||
case ContainerType.Smoker: return null;
|
case ContainerType.Smoker: return DefaultConfigResource.ContainerType_Furnace;
|
||||||
case ContainerType.Enchantment: return null;
|
case ContainerType.Enchantment: return null;
|
||||||
case ContainerType.BrewingStand: return DefaultConfigResource.ContainerType_BrewingStand;
|
case ContainerType.BrewingStand: return DefaultConfigResource.ContainerType_BrewingStand;
|
||||||
case ContainerType.Merchant: return null;
|
case ContainerType.Merchant: return null;
|
||||||
case ContainerType.Beacon: return null;
|
case ContainerType.Beacon: return null;
|
||||||
case ContainerType.Anvil: return null;
|
case ContainerType.Anvil: return null;
|
||||||
case ContainerType.Hopper: return null;
|
case ContainerType.Hopper: return DefaultConfigResource.ContainerType_Hopper;
|
||||||
case ContainerType.ShulkerBox: return null;
|
case ContainerType.ShulkerBox: return DefaultConfigResource.ContainerType_Generic_9x3;
|
||||||
case ContainerType.Loom: return null;
|
case ContainerType.Loom: return null;
|
||||||
case ContainerType.Stonecutter: return null;
|
case ContainerType.Stonecutter: return null;
|
||||||
case ContainerType.Lectern: return null;
|
case ContainerType.Lectern: return null;
|
||||||
case ContainerType.Cartography: return null;
|
case ContainerType.Cartography: return null;
|
||||||
case ContainerType.Grindstone: return null;
|
case ContainerType.Grindstone: return DefaultConfigResource.ContainerType_Grindstone;
|
||||||
case ContainerType.Unknown: return null;
|
case ContainerType.Unknown: return null;
|
||||||
default: return null;
|
default: return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
╔═════════════════════════════════════╗
|
||||||
|
║ Container ║
|
||||||
|
║ ╔═══╗ ║
|
||||||
|
║ ║ 0 ║ ║
|
||||||
|
║ ╚═══╝ ╔═══╗ ║
|
||||||
|
║ ⠂⡠⢂ ━━▶ ║ 2 ║ ║
|
||||||
|
║ ⠂⡠⢂ ╚═══╝ ║
|
||||||
|
║ ╔═══╗ ║
|
||||||
|
║ ║ 1 ║ ║
|
||||||
|
║ ╚═══╝ ║
|
||||||
|
║ Inventory ║
|
||||||
|
║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
|
║║ 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 ║38 ║29 ║║
|
||||||
|
║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
|
||||||
|
║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
|
║║30 ║31 ║32 ║33 ║34 ║35 ║36 ║37 ║38 ║║
|
||||||
|
║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
|
||||||
|
║ 1 2 3 4 5 6 7 8 9 ║
|
||||||
|
╚═════════════════════════════════════╝
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
╔═════════════════════════════════════╗
|
||||||
|
║ Repair & Disenchant ║
|
||||||
|
║ ╔═════════╗ ║
|
||||||
|
║ ║ ╔═══╗ ║ ║
|
||||||
|
║ ╔══║ ║ 0 ║ ║══╗ ║
|
||||||
|
║ ║ ║ ╚═══╝ ║ ║ ║
|
||||||
|
║ ║ ║ ╔═══╗ ║ ║ ╔═══╗ ║
|
||||||
|
║ ║ ║ ║ 1 ║ ║ ║ ━━▶ ║ 2 ║ ║
|
||||||
|
║ ║ ║ ╚═══╝ ║ ║ ╚═══╝ ║
|
||||||
|
║ ║ ╠═════════╣ ║ ║
|
||||||
|
║ ║ ║ ║ ║ ║
|
||||||
|
║ ╚══╝ ╚══╝ ║
|
||||||
|
║ ║
|
||||||
|
║ Inventory ║
|
||||||
|
║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
|
║║ 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 ║38 ║29 ║║
|
||||||
|
║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
|
||||||
|
║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
|
║║30 ║31 ║32 ║33 ║34 ║35 ║36 ║37 ║38 ║║
|
||||||
|
║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
|
||||||
|
║ 1 2 3 4 5 6 7 8 9 ║
|
||||||
|
╚═════════════════════════════════════╝
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
╔═════════════════════════════════════╗
|
||||||
|
║ Container ║
|
||||||
|
║ ╔═══╦═══╦═══╦═══╦═══╗ ║
|
||||||
|
║ ║ 0 ║ 1 ║ 2 ║ 3 ║ 4 ║ ║
|
||||||
|
║ ╚═══╩═══╩═══╩═══╩═══╝ ║
|
||||||
|
║ Inventory ║
|
||||||
|
║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
|
║║ 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 ║║
|
||||||
|
║╚═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╩═══╝║
|
||||||
|
║ 1 2 3 4 5 6 7 8 9 ║
|
||||||
|
╚═════════════════════════════════════╝
|
||||||
|
|
@ -305,6 +305,7 @@ cmd.inventory.close_fail=Failed to close Inventory #{0}
|
||||||
cmd.inventory.not_exist=Inventory #{0} do not exist
|
cmd.inventory.not_exist=Inventory #{0} do not exist
|
||||||
cmd.inventory.inventory=Inventory
|
cmd.inventory.inventory=Inventory
|
||||||
cmd.inventory.inventories=Inventories
|
cmd.inventory.inventories=Inventories
|
||||||
|
cmd.inventory.inventories_available=Available Inventories
|
||||||
cmd.inventory.hotbar=Your selected hotbar is {0}
|
cmd.inventory.hotbar=Your selected hotbar is {0}
|
||||||
cmd.inventory.damage=Damage
|
cmd.inventory.damage=Damage
|
||||||
cmd.inventory.left=Left
|
cmd.inventory.left=Left
|
||||||
|
|
@ -328,7 +329,11 @@ cmd.inventory.help.shiftclick=Shift click an item.
|
||||||
cmd.inventory.help.drop=Drop an item from inventory.
|
cmd.inventory.help.drop=Drop an item from inventory.
|
||||||
cmd.inventory.help.creativegive=Give item in creative mode.
|
cmd.inventory.help.creativegive=Give item in creative mode.
|
||||||
cmd.inventory.help.creativedelete=Clear slot in creative mode.
|
cmd.inventory.help.creativedelete=Clear slot in creative mode.
|
||||||
|
cmd.inventory.help.inventories=List avaliable inventories
|
||||||
|
cmd.inventory.help.search=Search for an item in avaliable Inventories
|
||||||
cmd.inventory.help.unknown=Unknown action.
|
cmd.inventory.help.unknown=Unknown action.
|
||||||
|
cmd.inventory.found_items=Found items
|
||||||
|
cmd.inventory.no_found_items=Could not find the specified item in any of avaliable Inventories!
|
||||||
|
|
||||||
# List
|
# List
|
||||||
cmd.list.desc=get the player list.
|
cmd.list.desc=get the player list.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue