Commit graph

170 commits

Author SHA1 Message Date
Milutinke
23fadc0c33 Removed a comment. 2022-09-23 20:21:56 +02:00
Milutinke
6cb7a25a16 Added /inventory search <item type> [count] command and fixed command help and description. 2022-09-23 20:20:02 +02:00
Milutinke
5b8d5e8e4a Changed the name of the sub command to avoid confusion. Updated the usage string 2022-09-22 22:03:57 +02:00
Milutinke
55057b3157 Added ASCII Art for Furnace/Smoker/Blast Furnace, Hopper/Minecart, Shulker, Grindstone. Added a command for list of available inventories. Added SmithingTable inventory type. 2022-09-22 21:58:51 +02:00
Anon
b5cf315ca1
Added /execmulti and /execif commands.
Added a way to execute multiple commands with a single command and a conditional command.
The documentation will be updated soon.
2022-09-19 15:26:53 +00:00
BruceChen
85f6d807bf Support using relative coordinates in /useblock 2022-09-18 18:07:10 +08:00
Milutinke
a0f0c634ff Made the /execif return boolean as expression evaluation result 2022-09-13 13:49:59 +02:00
BruceChen
949126c9cb Supports changing position and angle after catching fish 2022-09-12 16:27:37 +08:00
Milutinke
77da611411 Added a command that executes other command if a condition is met. 2022-09-11 22:35:26 +02:00
Milutinke
59cc4cea7c Added a way to execute multiple commands with a single command 2022-09-11 17:06:23 +02:00
BruceChen
223c13561c Fix /move 2022-09-09 16:13:25 +08:00
BruceChen
531f3408a0 Fix format error 2022-09-08 17:39:58 +08:00
BruceChen
5181395bbd
Support for shift-clicking in containers
Support for shift-clicking in containers
2022-09-08 17:21:38 +08:00
BruceChen
ac3f346f14 Trim & Improve the help message 2022-09-08 17:19:13 +08:00
BruceChen
bfd01a5f78 Add non-emoji representation for /chunk status 2022-09-08 14:55:41 +08:00
BruceChen
65bcd83330 Shift click support 2022-09-08 14:04:23 +08:00
BruceChen
317f2e78a9 Rewrite adaptation algorithm 2022-09-07 03:04:07 +08:00
BruceChen
7e71fbf241 Bug fix 2022-09-06 23:39:45 +08:00
BruceChen
5cb97ee00b Adaptable width 2022-09-06 23:21:14 +08:00
BruceChen
e69305f4fc Trim 2022-09-06 21:40:44 +08:00
BruceChen
3dac1f41d1 Add tips 2022-09-06 16:10:34 +08:00
BruceChen
c50477a712 Marking chunk 2022-09-06 15:25:27 +08:00
BruceChen
6430f13d3e Add "/chunk status" command 2022-09-06 14:54:49 +08:00
BruceChen
e5c3b914dd Trim before parse 2022-09-05 22:21:04 +08:00
BruceChen
0eb8d9998c Support for using relative coordinates in /move 2022-09-05 22:03:47 +08:00
BruceChen
ed8e97fd2d Bug fix: /move command went to the wrong location 2022-08-25 14:36:15 +08:00
BruceChen
01ef9a89ca Bug fix: Cancel chunk load task when switching worlds 2022-08-24 18:16:16 +08:00
ORelio
1ce7850193 MC 1.17/1.18 Terrain/Entity/Inventory (#1943)
Merge branch 'master' of github.com:milutinke/Minecraft-Console-Client into milutinke-master

Manually fix merge conflicts
Additional changes:
 - WindowItems: Fix data type for "elements" below 1.17
 - DestroyEntities: Fix packet palettes and remove DestroyEntity
 - EntityMetadata: Throw exception if health field mapping is not updated

Co-authored-by: Milutinke <bgteam@live.com>
Co-authored-by: BruceChen <MrChen131217@gmail.com>
2022-08-19 16:35:55 +02:00
Milutinke
af6f655d5e Fixed the requested changes for Terrain Movement. Tested and working. 2022-08-18 20:58:49 +02:00
Booquefius
613f52d3ae
AuotoAttack: add support for multiple interact modes (#2044)
* Adds support for multiple interact modes
* Entity interaction: Implement enum

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-08-15 23:31:17 +02:00
BruceChen
94fd8b118d "/move X Y Z" now moves the player to the center of the block first 2022-07-25 18:11:10 +08:00
BruceChen
b0b45a74a0 Make chunk loading status to be displayed using "/move" command 2022-07-25 14:20:24 +08:00
BruceChen
357820e1c2 Fix bugs in gravity handle 2022-07-25 03:19:24 +08:00
BruceChen
af574b654e avoid pathfind to an unloaded chunk | remove debug logs 2022-07-23 23:10:06 +08:00
Marko von Oppen
8795aab810
Add command to disable Gravity (#1955)
Allow disabling gravity (flying) for servers that allow this.
/move gravity: show gravity handling status
/move gravity on: enable gravity handling (falling)
/move gravity off: disable gravity handling (flying)

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-03-06 19:37:27 +01:00
Daenges
095c9cf137
Fix quote detection in /setrnd (#1915)
* Fix quote detection in /setrnd
Before the function crashed when entering quoted strings.
* Fix indentation
* Fix out of array error
2022-01-24 16:15:44 +01:00
Daenges
bbe000b640
Fix /move crash and /setrnd (#1914)
* Fix /move crash
* Fix substring cutting in SetRnd
2022-01-23 21:31:44 +01:00
Daenges
dd3fd3c9d2
Add "-f" to the /move command (#1874) 2021-12-29 22:34:40 +08:00
ORelio
259ef80cf9 Inventory: Select foreground container (#1875)
When several containers are open "/inventory container" will select
the container with highest ID (i.e. foreground container)
2021-12-28 11:15:11 +01:00
ReinforceZwei
e68a51dcff Move parseCommandLine method to command class 2021-12-15 21:25:24 +08:00
Daenges
381b8ea7d1
Add setrnd command (#1846)
* Add setrnd command

* Make rand private

* Add console-like argument behaviour

* Remove unused using declarations

* Add german and english translations

* Improve translation, Add notice to config README, Add check wheather arguments are provided

* Add some comments

* Remove typo

* Add %player% constant to setrnd

* Remove test variable and add comments

* Remove typo

* Reverse changes

* Remove translations
2021-12-15 18:51:16 +08:00
ORelio
f16e9e87dd Add support for inventory layout as ASCII art (#906)
Inventory art mostly made by Mhowser
TODO: Implement remaining inventory types
2021-05-29 15:21:38 +02:00
ORelio
64123a26a5 Add /inventory creativedelete (#1590) 2021-05-15 20:11:07 +02:00
ReinforceZwei
073458f5f2
Improve inventory command output (#1582)
* Improve inventory command output

* Remove unused code

* Sort item list before printing

* Fix incorrect container slot count

* Update Container.IsHotbar method
2021-05-11 14:02:47 +08:00
ReinforceZwei
1cd7c098c3
Add command for dropping items from inventory (#1581)
* Add command for dropping items from inventory
* Allow other container to be used
2021-05-10 20:27:18 +02:00
ORelio
8aee0cb731
Fix Entity Z not correctly shown (2nd fix #1370) 2020-12-12 22:48:21 +01:00
ORelio
372c59cdbc
Fix Entity location Z not correctly shown (#1370) 2020-12-07 19:01:32 +01:00
ReinforceZwei
2017d5d652
Add support of language files (#1273)
* Basic support of language file
Only mapped main part of MCC.
* Translations function imporve
* Change translation file naming
* Fix default translation file naming
* Complete translation file mapping for main part
Command and ChatBot not done yet
* Complete translation mapping for commands
Except Entitycmd
* Complete translation mapping for ChatBots
* Add new method for replacing translation key
Just for Entitycmd. Be proud of yourself. We have a convenient method now.
* Complete all translation mapping
* Add default config and translation file to resource
* Remove untranslatable messages from default translation file
2020-10-17 13:41:31 +02:00
Рома Данилов
02e294e3e8
Fix entity handling crash (#1241)
Fix #1237
* Fix crash
* Update Entity.cs
* Update Entitycmd.cs
* Update McClient.cs
2020-08-27 19:33:45 +02:00
Рома Данилов
896cabb6ce
Improve /entity, add entity equipment and item lore (#1238)
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Color fix
* Update Entitycmd.cs
* Update Entitycmd.cs
* Entities list CustomName fix
* Update Entity.cs
* Update McClient.cs
* Update Entity.cs
* Update Entity.cs
* Update Entitycmd.cs
* Crash fixes
* Update Entitycmd.cs
* Update McClient.cs
* Update Entitycmd.cs
* Remove extra space
* Space add
* Update Item.cs
* Update McClient.cs
* Update Entitycmd.cs
* Replace item slot if already set
2020-08-26 18:58:45 +02:00