Warning
This is not a fully working/finished project so don't blame me for anything that happens.
To contribute just open a PR it will be reviewed and if it works and is clear it will be merged and you will be credited. (Formatting code, Fixing a typo and etc isnt included)
Important
This tool was only tested on MCBE 1.20.10 and most likely will ONLY Work on 1.20.10+ and might break at any version above. This was only testes on PocketMineMP. And most stuff wont work or may crash on Non PMMP servers.
Note
This project is strictly non-commercial and not for distribution with any exchange. Making money from this project is prohibited. Please respect these terms and use the project responsibly.
BetterIS.js file (plugin) Will start an Express server that will allow you to view players inventory and drop items using buttons.
Default link will be: http://localhost:3000/api/drop
-
Sending messages.
{String} message
player.sendMessage(message);
-
Dropping items.
{Number} count
{Number} Slot
player.dropItem(count, slot);
-
Set item in slot.
[!WARNING] TODO: document why people should not use this function
{Number} slot
{Array} item
player.setSlot(slot, item);
-
Get the item from slot.
{Number} slot
player.getSlot(slot);
-
Get Players position
player.getPosition();
-
Get block in world.
{Array} position
- The Array must be {x,y,z} positions
player.world.world.getBlock(position);
- SineVector241 For showing some examples of Physics.
- CreeperG16 For some types. in ./src/types/types.d.ts
- baghii [discord name] For 1.20.10 blocks list