File Details
cheatutils-2.16.0-forge-1.21.jar
- R
- Jul 4, 2024
- 1.46 MB
- 3.1K
- 1.21
- Forge
File Name
cheatutils-2.16.0-forge-1.21.jar
Supported Versions
- 1.21
Curse Maven Snippet
- Kill Aura - now uses the same formula to calculate distance to entity as vanilla game
- added Anti Hunger
- Status Overlay - now you can set background for your text with new methods:
addText(String backgroundColor, String[] parameters)andaddTextAtPosition(int x, int y, String backgroundColor, String[] parameters). Background color may have alpha channel value, format:#AARRGGBB - added Containers API to interact with container menus, or custom ingame menus many servers use. Examples:
// Events Scripting
events.onContainerMenuSlotClick(() => {
main.systemMessage(
"slot: " + convert.toString(currentContainerClick.getSlot()) +
" btn: " + convert.toString(currentContainerClick.getButton()) +
" type: " + currentContainerClick.getClickType());
});
// Status Overlay
main.addText(containers.getMenuClass());
main.addText(containers.getScreenTitle());
main.addText(convert.toString(containers.getMenuId()));
// keybind
containers.waitForOpen(() => {
containers.click(10, 1, "PICKUP");
containers.waitForNewId(() => {
containers.click(12, 1, "PICKUP");
});
});

