Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Now u can tell if its trapped #4503

Merged
merged 1 commit into from
Sep 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Now u can tell if its trapped
Intoprelised authored Sep 7, 2021
commit 8688284f543623c681d0c8bdf8364a5b66e0ace9
2 changes: 1 addition & 1 deletion Horion/Module/Modules/ChestESP.cpp
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ void ChestESP::onPreRender(C_MinecraftUIRenderContext* renderCtx) {
mathVect.y = floor(mathVect.y);

if (storageID == 54) DrawUtils::setColor(1.f, 1.f, 1.f, math); // Normal Chest
if (storageID == 146) DrawUtils::setColor(1.f, 1.f, 1.f, math); // Trapped Chest
if (storageID == 146) DrawUtils::setColor(.92f, .14f, .14f, math); // Trapped Chest
if (storageID == 130) DrawUtils::setColor(0.435294f, 0.215686f, 0.631372f, math); // Ender Chest

DrawUtils::drawBox(chest.lower, chest.upper, (float)fmax(0.2f, 1 / (float)fmax(1, g_Data.getLocalPlayer()->eyePos0.dist(chest.lower))), true); // Fancy math to give an illusion of good esp