Releases: Earthcomputer/clientcommands
Releases · Earthcomputer/clientcommands
Version 2.4.1 for Minecraft 1.16.x
- Added
/ccalcstack
command for calculating the number of stacks plus the remainder.- By default, uses the item the player is holding in their main hand.
- Can specify a different item.
- Note that this feature was already available in the form of
/ccalc <n>
for items stacking to 64, this new command is specific for item calculations.
Version 2.4 for Minecraft 1.16
Changes compared to 2.3.7-pre6
- Updated to Minecraft 1.16
- Changes to scripting:
player.openContainer
attribute renamed toplayer.currentContainer
- new function
player.openContainer
, which opens a container at a coordinate or entity - new function
player.pathTo
(pathfinding) - new function
player.craft
, which makes it way easier to do crafting with scripts - new function
world.getClosestVisiblePoint
- new functions
Inventory.findSlot
,Inventory.findSlots
andInventory.moveItems
, new utility functions for item handling in inventories - new interface
Position
- new interface
PathFindingHints
- the scripting API can now be considered stable, meaning that existing scripts should no longer break except in exceptional circumstances
Changes compared to 2.3.6
- Updated to Minecraft 1.16
- Added a scripting API
- accessible through the
/cscript
command - documented in
docs/clientcommands.ts
in the repository, example scripts can also be found nearby - scripts are JavaScript (ECMAScript 5) files in the
config/clientcommands/scripts
directory in your.minecraft
folder - to change them while the game is running, you must reload them using
/cscript reload
- accessible through the
- Added German and Slovene translations. Contributions to translations are welcome
Version 2.3.7-pre6 for Minecraft 1.15.2
- Add
chat()
function to scripting API to send chat messages. - Fix a bug in the scripting API for older Java versions.
Version 2.3.7-pre5 for Minecraft 1.15.2
- Fix crash on startup
Version 2.3.7-pre4 for Minecraft 1.15.2
- Update to 1.15.2
Version 2.3.7-pre3 for Minecraft 1.15.1
- Update to 1.15.1
Version 2.3.7-pre2 for Minecraft 1.15
- Update to 1.15
Version 2.3.7-pre1 for Minecraft 1.14.4
Changes compared to 2.3.6:
- Add scripting API and the
/cscript
command. This is the next step of a long journey to make clientcommands the useful mod that everyone wants :P - Add
/cgetdata
command which takes an entity selector and gives you the NBT data the client has for that entity. - Fix
/cglow
not affecting model armour stands - Fix a minor mod incompatibility
- Add German translations
- Add Slovene translations (thanks to landmining)
This is also the first version that language translations have been added. If your language is missing, contributions are welcome. You can submit a pull request with your translations of clientcommands.
Version 2.3.6 for Minecraft 1.14.4
- Add
/cglow
command - same syntax as/cfind
, except causes target entities to glow as if they were hit by a spectral arrow. - Can now use regular expressions inside
@e[name=...]
between / slashes. Use\/
to escape the closing slash. Example: to find entities whose name contains a digit, use@e[name=/.*\d.*/]
. Only works in client-side commands. - Allow block and item tags in
/cfindblock
and/cfinditem
(#69, #77) - Fix enchant seed ready message appearing when it isn't supposed to (#72)
- Fix some auto-completion bugs, including that annoying one in
/cfind
(#73) - Fix a missing translation (#75)
- Fix minus sign after a number causing
/ccalc
to fail (#83)
Version 2.3.5 for Minecraft 1.14.4
- Appears properly with an icon in ModMenu.
- Add ability to cancel
/ccrackrng
when you're on a modded server and it keeps throwing items forever (#53). - Add
/cenchant --simulate
to allow you to see how many items it will throw and what exact enchantments you will get, before you decide to go for it (#62). - Now simulates enchantments properly when connected to a 1.14-1.14.2 server with multiconnect.
- Fix #58 - Item drops aren't detected in some cases.
- "Crack state" is now split into "Enchantment crack state" and "Player crack state". Fixes multiple bugs and inconsistencies.
- The maximum command length for client-side commands has been increased to 32500 (the same as command blocks) (#70).