Autofindblock
-
@CzechHek said in Autofindblock:
module = {
name: "AutoFindBlock",
category: "Misc",
description: "Helps you to automatically select a block",
author: "Lolmc, CzechHek",
onUpdate: function () {
if ((ScaffoldModule.state || TowerModule.state)) && ~(blockSlot = InventoryUtils.findAutoBlockBlock())) {
slot = slot || mc.thePlayer.inventory.currentItem;
mc.thePlayer.inventory.currentItem = blockSlot - 36;
mc.playerController.updateController();
} else if (slot) {
mc.thePlayer.inventory.currentItem = slot;
mc.playerController.updateController();
slot = null;
}
}
}var slot;
script.import("Core.lib");One liner one liner, but cannot see the 1 line script on Misc.
-
@CzechHek I noticed a small bug. If your slot is on number 1 and want to switch to slots 2-9 and then turn off the Scaffold module, the script won't allow it to go back to slot 1 (where it originally was, before switching to any other slot)
Video to demonstrate:
-
make a verus fly script pls (test on omegacraft.cl)