forked from RepoMirrors/kami-blue
close #528
This commit is contained in:
parent
6e81c7cbf2
commit
7e0739f084
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue