Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

Full help for /inventory

Open dmgnr opened this issue 3 years ago • 6 comments

Prerequisites

Console Client Version

Latest

Describe your problem

Fully doc for /inventory plz

Suggest a possible solution

Its hard to use /inventory and I know only /inventory container click # But what about the other command I don't know what it is

Attach screenshot here (If applicable)

No response

Minecraft Version

1.16.5

Device

Desktop

Operating System

Windows

dmgnr avatar Feb 12 '22 05:02 dmgnr

Type /help inventory.

ReinforceZwei avatar Feb 12 '22 12:02 ReinforceZwei

Type /help inventory.

;-; where's the list of action There suppose to be more than just "click" right?

dmgnr avatar Feb 13 '22 12:02 dmgnr

Type /help inventory.

;-; where's the list of action There suppose to be more than just "click" right?

Use /inventory help And then use /inventory help <action> for the specific action.

Examples:

>/help inventory
[MCC] Basic usage: /inventory <player|container|<id>> <action>.: Inventory command
>/inventory help
[MCC] Available actions: list, close, click, drop, creativegive, creativedelete.
Use '/inventory help <action>' for action help.
'player' and 'container' can be simplified to 'p' and 'c'.
Note that parameters in '[]' are optional.
>/inventory help click
[MCC] Click on an item. Usage: /inventory <player|container|<id>> click <slot> [left|right|middle].
Default is left click

milutinke avatar Feb 13 '22 16:02 milutinke

inventories always seem to increase in number too, in the following example clicking any item within a shop opens a new ID.

/shop
\inventory 6 click 11
\inventory 7 click 19 m

/shop created container ID 6 >> clicking item within shop opens ID 7 This behavior unfortunately blocks scripting unless other hidden options exist

Having further information in how to script inventory further would be beneficial too. This is an area I would like included in OP request.

[MCC] Inventory # 6 opened: Select a shop category...
[MCC] Use /inventory to interact with it.

Can we use chat matching for MCC messages? Are ID's kept within a var or array we could use? cscript could this be used to capture ID or MCC messages?

If we could have examples im sure we could create something special.

MousePak avatar Feb 18 '22 13:02 MousePak

@MousePak Use /inventory container click .... It will select the largest available ID.

ReinforceZwei avatar Feb 18 '22 14:02 ReinforceZwei

@ReinforceZwei wow never tried this just thought the word "container" was for reference not use ! expect I could get much closer to what im after using multiple cycles knowing that

send /shop
\inventory container click 11
\inventory container click 19 m
\inventory container close
#overkill for cleanup 
\inventory container close
\inventory container close

Boom... auto sell in a nutshell

Having something interact with MCC messages would have been ideal but going off topic for this thread. Thank you (fast reply too)

MousePak avatar Feb 18 '22 15:02 MousePak

Since I've made a detailed explanation with examples for Inventory handling in our documentation: https://mccteam.github.io/guide/usage.html#inventory I'll be closing the issue. If you need any more help, refer to the documentation, and if you really can't figure out, join our Discord and ask.

milutinke avatar Sep 17 '22 19:09 milutinke