This commit is contained in:
Bella 2020-03-06 11:09:11 -05:00
parent 6e81c7cbf2
commit 7e0739f084
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
3 changed files with 14 additions and 1 deletions

View File

@ -36,6 +36,7 @@ import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems;
import static me.zeroeightsix.kami.util.EntityUtil.calculateLookAt;
/**
@ -382,4 +383,9 @@ public class CrystalAura extends Module {
renderEnt = null;
resetRotation();
}
@Override
public String getHudInfo() {
return String.valueOf(getItems(Items.END_CRYSTAL));
}
}

View File

@ -12,6 +12,8 @@ import net.minecraft.inventory.ClickType;
import net.minecraft.item.*;
import net.minecraft.network.play.client.CPacketPlayerTryUseItem;
import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems;
/**
* @author polymer (main listener switch function xd)
* @author S-B99 (made epic and smooth and cleaned up code <3) (why did i rewrite this 4 times)
@ -130,4 +132,9 @@ public class OffhandGap extends Module {
mc.playerController.windowClick(0, slot < 9 ? slot + 36 : slot, 0, ClickType.PICKUP, mc.player);
}
}
@Override
public String getHudInfo() {
return String.valueOf(getItems(Items.GOLDEN_APPLE));
}
}

View File

@ -77,7 +77,7 @@ public class InfoOverlay extends Module {
return TimerSpeed.returnGui().replace(".", formatted);
}
public String textColour(ColourUtils.ColourCode c) {
private String textColour(ColourUtils.ColourCode c) {
return getStringColour(c);
}