diff --git a/Horion.vcxproj b/Horion.vcxproj
index 456d44ebe..09bb98162 100644
--- a/Horion.vcxproj
+++ b/Horion.vcxproj
@@ -294,7 +294,7 @@
-
+
@@ -653,4 +653,4 @@
-
\ No newline at end of file
+
diff --git a/Horion/Module/ModuleManager.cpp b/Horion/Module/ModuleManager.cpp
index 3a60ac1fe..4d845e159 100644
--- a/Horion/Module/ModuleManager.cpp
+++ b/Horion/Module/ModuleManager.cpp
@@ -25,7 +25,7 @@ void ModuleManager::initModules() {
this->moduleList.push_back(std::shared_ptr(new Jetpack()));
this->moduleList.push_back(std::shared_ptr(new Aimbot()));
this->moduleList.push_back(std::shared_ptr(new TriggerBot()));
- this->moduleList.push_back(std::shared_ptr(new ChestESP()));
+ this->moduleList.push_back(std::shared_ptr(new StorageESP()));
this->moduleList.push_back(std::shared_ptr(new Velocity()));
this->moduleList.push_back(std::shared_ptr(new RainbowSky()));
this->moduleList.push_back(std::shared_ptr(new AirJump()));
diff --git a/Horion/Module/ModuleManager.h b/Horion/Module/ModuleManager.h
index cb0dd2030..5c8310af5 100644
--- a/Horion/Module/ModuleManager.h
+++ b/Horion/Module/ModuleManager.h
@@ -25,7 +25,7 @@
#include "Modules/BowAimbot.h"
#include "Modules/AntiVoid.h"
#include "Modules/ChestAura.h"
-#include "Modules/ChestESP.h"
+#include "Modules/StorageESP.h"
#include "Modules/ChestStealer.h"
#include "Modules/ClickGuiMod.h"
#include "Modules/Teleport.h"
diff --git a/Horion/Module/Modules/ChestESP.cpp b/Horion/Module/Modules/StorageESP.cpp
similarity index 72%
rename from Horion/Module/Modules/ChestESP.cpp
rename to Horion/Module/Modules/StorageESP.cpp
index a8e8123cf..572fa9951 100644
--- a/Horion/Module/Modules/ChestESP.cpp
+++ b/Horion/Module/Modules/StorageESP.cpp
@@ -1,17 +1,17 @@
-#include "ChestESP.h"
+#include "StorageESP.h"
#include "../../DrawUtils.h"
-ChestESP::ChestESP() : IModule(0, Category::VISUAL, "ESP for chests") {
+StorageESP::StorageESP() : IModule(0, Category::VISUAL, "ESP for storage blocks") {
}
-ChestESP::~ChestESP() {
+StorageESP::~StorageESP() {
}
-const char* ChestESP::getModuleName() {
- return ("ChestESP");
+const char* StorageESP::getModuleName() {
+ return ("StorageESP");
}
-void ChestESP::onPreRender(C_MinecraftUIRenderContext* renderCtx) {
+void StorageESP::onPreRender(C_MinecraftUIRenderContext* renderCtx) {
if (!g_Data.isInGame() || !GameData::canUseMoveKeys() || g_Data.getLocalPlayer() == nullptr)
return;
@@ -35,12 +35,15 @@ void ChestESP::onPreRender(C_MinecraftUIRenderContext* renderCtx) {
if (storageID == 54) DrawUtils::setColor(1.f, 1.f, 1.f, math); // Normal 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
+ if (storageID == 458) DrawUtils::setColor(0.62, 0.31, 0.04, math); // Barrel
+ if (storageID == 205) DrawUtils::setColor(.49f, .17f, .95f, math); // Undyed Shulker Box
+ if (storageID == 218) DrawUtils::setColor(.08f, .91f, .99f, math); // Shulker Box
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
}
}
-void ChestESP::onTick(C_GameMode* gm) {
+void StorageESP::onTick(C_GameMode* gm) {
// Swap list
auto listLock = g_Data.lockChestList();
auto& chestList = g_Data.getChestList();
diff --git a/Horion/Module/Modules/ChestESP.h b/Horion/Module/Modules/StorageESP.h
similarity index 83%
rename from Horion/Module/Modules/ChestESP.h
rename to Horion/Module/Modules/StorageESP.h
index 1c6449114..0393f306e 100644
--- a/Horion/Module/Modules/ChestESP.h
+++ b/Horion/Module/Modules/StorageESP.h
@@ -2,15 +2,15 @@
#include "Module.h"
-class ChestESP : public IModule {
+class StorageESP : public IModule {
private:
int tickTimeout = 0;
std::vector bufferedChestList;
std::mutex listLock;
public:
- ChestESP();
- ~ChestESP();
+ StorageESP();
+ ~StorageESP();
// Inherited via IModule
virtual const char* getModuleName() override;
diff --git a/Memory/Hooks.cpp b/Memory/Hooks.cpp
index 10820c0d3..a32d79369 100644
--- a/Memory/Hooks.cpp
+++ b/Memory/Hooks.cpp
@@ -868,8 +868,8 @@ float Hooks::Dimension_getSunIntensity(__int64 a1, float a2, vec3_t* a3, float a
void Hooks::ChestBlockActor_tick(C_ChestBlockActor* _this, void* a) {
static auto oTick = g_Hooks.ChestBlockActor_tickHook->GetFastcall();
oTick(_this, a);
- static auto* chestEspMod = moduleMgr->getModule();
- if (_this != nullptr && chestEspMod->isEnabled())
+ static auto* storageEspMod = moduleMgr->getModule();
+ if (_this != nullptr && storageEspMod->isEnabled())
GameData::addChestToList(_this);
}