Added a command to (re)name items in the Anvil

This commit is contained in:
Anon 2023-06-03 16:12:17 +02:00
parent 9855e2e0f1
commit fce12db33f
8 changed files with 174 additions and 0 deletions

View file

@ -3854,5 +3854,41 @@ namespace MinecraftClient {
return ResourceManager.GetString("cmd.items.collector.stopped", resourceCulture);
}
}
internal static string cmd_nameitem_item_name_empty {
get {
return ResourceManager.GetString("cmd.nameitem.item.name.empty", resourceCulture);
}
}
internal static string cmd_nameitem_no_anvil_inventory_open {
get {
return ResourceManager.GetString("cmd.nameitem.no.anvil.inventory.open", resourceCulture);
}
}
internal static string cmd_nameitem_first_slot_empty {
get {
return ResourceManager.GetString("cmd.nameitem.first.slot.empty", resourceCulture);
}
}
internal static string cmd_nameitem_failed {
get {
return ResourceManager.GetString("cmd.nameitem.failed", resourceCulture);
}
}
internal static string cmd_nameitem_successful {
get {
return ResourceManager.GetString("cmd.nameitem.successful", resourceCulture);
}
}
internal static string cmd_nameitem_desc {
get {
return ResourceManager.GetString("cmd.nameitem.desc", resourceCulture);
}
}
}
}

View file

@ -2058,4 +2058,22 @@ Logging in...</value>
<data name="cmd.items.collector.stopped" xml:space="preserve">
<value>Stopped collecting items.</value>
</data>
<data name="cmd.nameitem.item.name.empty" xml:space="preserve">
<value>The item name cannot be empty!</value>
</data>
<data name="cmd.nameitem.no.anvil.inventory.open" xml:space="preserve">
<value>You need to have an Anvil inventory opened and active in order to use this command!</value>
</data>
<data name="cmd.nameitem.first.slot.empty" xml:space="preserve">
<value>You need to place an item in the first slot (slot id: 0) of the Anvil inventory!</value>
</data>
<data name="cmd.nameitem.failed" xml:space="preserve">
<value>Failed to send the packet for naming an item, try agian!</value>
</data>
<data name="cmd.nameitem.successful" xml:space="preserve">
<value>Succesfully sent the item name to the server, you can now clikc on the slot number 2 in the Anvil inventory to rename the item.</value>
</data>
<data name="cmd.nameitem.desc" xml:space="preserve">
<value>Set an item name when an Anvil inventory is active and the item is in the first slot.</value>
</data>
</root>