[SKIP_DEPLOY] Add plugin-container

This commit is contained in:
BruceChen 2022-11-04 12:04:57 +08:00
parent bbdf5a3699
commit 52b6372be6
38 changed files with 767 additions and 151 deletions

View file

@ -16,7 +16,9 @@ Using the command line parameters:
Simply run `MinecraftClient.exe`
> ** NOTE: On Windows it's best using [Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/install) for the best experience and looks. Some features like emojis in the [`/chunk`](#chunk) command do not work in CMD or Powershell 5**
::: tip
**On Windows it's best using [Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/install) for the best experience and looks. Some features like emojis in the [`/chunk`](#chunk) command do not work in CMD or Powershell 5**
:::
## Linux, macOS
@ -90,7 +92,9 @@ MinecraftClient.exe --help
### Quick usage of MCC with examples
> ** NOTE: On Linux and macOS, you need to type: `./MinecraftClient` instead of `MinecraftClient.exe`**
::: tip
**On Linux and macOS, you need to type: `./MinecraftClient` instead of `MinecraftClient.exe`**
:::
```bash
MinecraftClient.exe --help
@ -169,7 +173,9 @@ From chat prompt, commands must by default be prepended with a slash, eg. `/quit
In scripts and remote control, no slash is needed to perform the command, eg. `quit`.
> ** NOTE: Some commands may not be documented yet or are defined in description of Chat Bots, use `/help` to list them all, or you can contribute to this page.**
::: tip
**Some commands may not be documented yet or are defined in description of Chat Bots, use `/help` to list them all, or you can contribute to this page.**
:::
### `animation`
@ -252,7 +258,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Change your selected slot in the hotbar.
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
:::
- **Usage:**
@ -266,9 +274,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Displays the chunk loading status in a nice way.
> **⚠️ WARNING: To use this feature you need to enable the [Terrain and Movements](configuration.md#terrainandmovements)**
::: warning
**To use this feature you need to enable the [Terrain and Movements](configuration.md#terrainandmovements)**
:::
> ** NOTE: You need a terminal with emoji support, like Powershell 7, Windows Terminal or Alacritty, if you do not want emoji support and want to use cmd or powershell 5, disable emojis with: [`enableemoji`](configuration.md#enableemoji)**
::: tip
**You need a terminal with emoji support, like Powershell 7, Windows Terminal or Alacritty, if you do not want emoji support and want to use cmd or powershell 5, disable emojis with: [`enableemoji`](configuration.md#enableemoji)**
:::
- **Usage:**
@ -310,7 +322,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Drop all items of a specific type from your inventory.
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
:::
- **Usage:**
@ -318,7 +332,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/dropitem <itemtype>
```
> ** NOTE: All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).**
::: tip
**All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).**
:::
- **Example:**
@ -332,7 +348,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Attack an entity, use an entity or get a list of entities around you.
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Entity Handling](configuration.md#entityhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Entity Handling](configuration.md#entityhandling) enabled in order for this to work.**
:::
- **Usage:**
@ -348,7 +366,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/entity
```
> ** NOTE: All entity types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Mapping/EntityType.cs).**
::: tip
**All entity types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Mapping/EntityType.cs).**
:::
- **Examples:**
@ -369,7 +389,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Also the instance of MCC is available with `MCC.`.
> ** NOTE: All local variables are treated as strings in the app, when comparing their values, you can use `<variable> == "<value>"`, or better use [`.Equals`](https://www.programiz.com/csharp-programming/library/string/equals) method**
::: tip
**All local variables are treated as strings in the app, when comparing their values, you can use `<variable> == "<value>"`, or better use [`.Equals`](https://www.programiz.com/csharp-programming/library/string/equals) method**
:::
- **Usage:**
@ -444,7 +466,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/reco [account]
```
> ** NOTE: `[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)**
::: tip
**`[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)**
:::
### `reload`
@ -452,7 +476,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Reloads settings from MinecraftClient.ini and Chat Bots.
> ** NOTE: Some settings won't be reloaded since they are used before the client initialization. Also, settings provided by the command line paramteres will be overriden. This also does not reload the ReplayBot due to technical limitations.**
::: tip
**Some settings won't be reloaded since they are used before the client initialization. Also, settings provided by the command line paramteres will be overriden. This also does not reload the ReplayBot due to technical limitations.**
:::
- **Usage:**
@ -472,9 +498,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/connect <server> [account]
```
> ** NOTE: `<server>` is either a server IP or a server alias defined in servers file, for more info check out [serverlist](configuration.html#serverlist)**
::: tip
**`<server>` is either a server IP or a server alias defined in servers file, for more info check out [serverlist](configuration.html#serverlist)**
:::
> ** NOTE: `[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)**
::: tip
**`[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)**
:::
### `script`
@ -610,9 +640,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Use item in the hand, this can be used to do a right click on items which open menus on servers.
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
:::
> **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`**
::: warning
**The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`**
:::
- **Usage:**
@ -634,11 +668,17 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
- shulker
- loom
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.**
:::
> ** NOTE: Not all inventories have a GUI representation in an ASCII art format.**
::: tip
**Not all inventories have a GUI representation in an ASCII art format.**
:::
> **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.**
::: warning
**The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.**
:::
- **Usage:**
@ -658,9 +698,17 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Make the bot follow a player.
> ** NOTE: This command is avaliable only with [Follow Player](chat-bots.md#follow-player) Chat Bot enabled.**
::: tip
**This command is avaliable only with [Follow Player](chat-bots.md#follow-player) Chat Bot enabled.**
:::
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** > ** NOTE: You need to have [Enity Handling](configuration.md#entityhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
:::
::: tip
**You need to have [Enity Handling](configuration.md#entityhandling) enabled in order for this to work.**
:::
- **Usage:**
@ -698,9 +746,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Used for moving when terrain and movements feature is enabled.
> ** NOTE: You need to have [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.**
::: tip
**You need to have [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.**
:::
> **⚠️ WARNING: The [Terrain and Movements](configuration.md#terrainandmovements) is currently not supported in `1.4.6 - 1.6`.**
::: warning
**The [Terrain and Movements](configuration.md#terrainandmovements) is currently not supported in `1.4.6 - 1.6`.**
:::
- **Usage:**
@ -756,15 +808,21 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Used for inventory manipulation.
> ** NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
::: tip
**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.**
:::
> **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.**
::: warning
**The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.**
:::
MCC defines inventories as containers internally, so player's inventory, chests, droppers, dispensers, hoppers, chest minecarts, barrels, furnaces, etc... are all considered a container, and each one of them has it's ID, the words container and inventory can be used interchangeably.
Inventory has slots and each one of them has an id.
> ** NOTE: This command DOES NOT physically open a container (eg. chest), for that you need to use [`useblock`](#useblock) command first.**
::: tip
**This command DOES NOT physically open a container (eg. chest), for that you need to use [`useblock`](#useblock) command first.**
:::
An example of player inventory with annotated IDs in ASCII art and a list of items:
@ -778,7 +836,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/inventory <player|container|<id>> <action> [action parameters] | /inventory <inventories/i> | /inventory <search/s> <item type> [amount]
```
> ** NOTE: player and container can be simplified with p and c accordingly**
::: tip
**player and container can be simplified with p and c accordingly**
:::
Actions:
@ -798,7 +858,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/inventory <player|container|<id>> <click|shiftclick> <slot id> [left|right|middle]
```
> ** NOTE: The default click is left click**
::: tip
**The default click is left click**
:::
Close an inventory:
@ -812,7 +874,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/inventory <player|id> drop <slot id> <number of items|all>
```
> ** NOTE: To drop all items from a slot, you can use:** `all`
::: tip
**To drop all items from a slot, you can use: `all`**
:::
Give an item to the player inventory from a creative menu when in the creative mode:
@ -820,7 +884,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/inventory creativegive <slot id> <item type> <amount>
```
> ** NOTE: To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)**
::: tip
**To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)**
:::
Delete an item from a player's inventory when in the creative mode:
@ -890,7 +956,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
/inventory creativegive 36 diamondblock 64
```
> ** NOTE: To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)**
::: tip
**To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)**
:::
Delete an item from a player's inventory in slot number/id `36` when in the creative mode:
@ -916,4 +984,6 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
Show commands help.
> ** NOTE: Use "/send /help" for server help**
::: tip
**Use "/send /help" for server help**
:::