Search in sources :

Example 1 with SimpleRemovingSetting

use of me.earth.earthhack.impl.util.helpers.addable.setting.SimpleRemovingSetting in project 3arthh4ck by 3arthqu4ke.

the class AutoRegear method registerInventory.

public void registerInventory() {
    for (int i = 9; i < 45; i++) {
        int id = Item.REGISTRY.getIDForObject(mc.player.inventoryContainer.getInventory().get(i).getItem());
        register(new SimpleRemovingSetting((i - 9) + ":" + id));
    }
}
Also used : SimpleRemovingSetting(me.earth.earthhack.impl.util.helpers.addable.setting.SimpleRemovingSetting)

Aggregations

SimpleRemovingSetting (me.earth.earthhack.impl.util.helpers.addable.setting.SimpleRemovingSetting)1