diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/dungeonRoutes/index.js | 17 | ||||
-rw-r--r-- | features/dungeonRoutes/routesData.json | 561 | ||||
-rw-r--r-- | features/globalSettings/index.js | 24 |
3 files changed, 590 insertions, 12 deletions
diff --git a/features/dungeonRoutes/index.js b/features/dungeonRoutes/index.js index 1c49dab..b7e2d6a 100644 --- a/features/dungeonRoutes/index.js +++ b/features/dungeonRoutes/index.js @@ -161,6 +161,23 @@ class DungeonRoutes extends Feature { this.recordRoute = false }) } + /*const EnumParticleTypes = Java.type('net.minecraft.util.EnumParticleTypes'); //TODO: make path rendering use particles +World.particle.getParticleNames().forEach(name => { console.log(name) }) // All names +let particleType = EnumParticleTypes.valueOf('EXPLOSION_HUGE'); +let idField = particleType.getClass().getDeclaredField('field_179372_R'); +idField.setAccessible(true); +let id = idField.get(particleType); + +Client.getMinecraft().field_71438_f.func_174974_b( + id, // particleID + true, // shouldIgnoreRange + -19, // x + 113, // y + 6, // z + 0, // speedX + 0, // speedY + 0, // speedZ +);*/ toRoomCoordinates(x, y, z) { //From relative coords to world coords if (!this.currRoomData) return null diff --git a/features/dungeonRoutes/routesData.json b/features/dungeonRoutes/routesData.json index 2a6db6c..81873b7 100644 --- a/features/dungeonRoutes/routesData.json +++ b/features/dungeonRoutes/routesData.json @@ -6196,5 +6196,566 @@ ] ], "tnts": [] + }, + { + "index": 92, + "etherwarps": [], + "mines": [], + "locations": [ + [ + -36, + 69, + 2 + ], + [ + -34, + 80, + -5 + ], + [ + -33, + 79, + -6 + ], + [ + -33, + 77, + -7 + ], + [ + -33, + 76, + -7 + ], + [ + -33, + 76, + -9 + ], + [ + -33, + 75, + -9 + ], + [ + -33, + 69, + -9 + ], + [ + -32, + 69, + -8 + ], + [ + -32, + 80, + -8 + ], + [ + -32, + 80, + -7 + ], + [ + -33, + 78, + -6 + ], + [ + -34, + 76, + -4 + ], + [ + -34, + 76, + 0 + ], + [ + -33, + 75, + 2 + ], + [ + -33, + 72, + 3 + ], + [ + -32, + 69, + 3 + ], + [ + -28, + 69, + 3 + ], + [ + -19, + 69, + 2 + ], + [ + -8, + 69, + 1 + ], + [ + 6, + 69, + 0 + ], + [ + 10, + 69, + 0 + ], + [ + 14, + 69, + 0 + ], + [ + 15, + 69, + 0 + ], + [ + 18, + 69, + 2 + ], + [ + 25, + 77, + 5 + ], + [ + 26, + 76, + 6 + ], + [ + 28, + 76, + 6 + ], + [ + 28, + 78, + 5 + ], + [ + 29, + 77, + 5 + ], + [ + 27, + 77, + 5 + ], + [ + 25, + 76, + 4 + ], + [ + 23, + 76, + 3 + ], + [ + 22, + 74, + 1 + ], + [ + 21, + 72, + 0 + ], + [ + 16, + 72, + -9 + ], + [ + 15, + 72, + -10 + ], + [ + 14, + 70, + -11 + ], + [ + 12, + 69, + -12 + ], + [ + 8, + 69, + -11 + ], + [ + 5, + 69, + -10 + ], + [ + 1, + 69, + -9 + ], + [ + -3, + 69, + -9 + ], + [ + -6, + 69, + -9 + ], + [ + -3, + 69, + -9 + ], + [ + 2, + 69, + -10 + ], + [ + 7, + 69, + -10 + ], + [ + 9, + 69, + -12 + ], + [ + 13, + 69, + -11 + ], + [ + 15, + 69, + -8 + ], + [ + 16, + 69, + -8 + ], + [ + 18, + 69, + -11 + ], + [ + 20, + 80, + -13 + ], + [ + 20, + 79, + -13 + ], + [ + 20, + 80, + -13 + ], + [ + 20, + 81, + -13 + ], + [ + 21, + 81, + -13 + ], + [ + 21, + 87, + -13 + ], + [ + 22, + 85, + -13 + ], + [ + 22, + 85, + -12 + ], + [ + 21, + 85, + -12 + ], + [ + 21, + 85, + -13 + ], + [ + 21, + 80, + -13 + ], + [ + 21, + 81, + -13 + ], + [ + 20, + 80, + -13 + ], + [ + 19, + 80, + -13 + ], + [ + 18, + 78, + -12 + ], + [ + 17, + 78, + -10 + ], + [ + 16, + 72, + -2 + ], + [ + 16, + 71, + -2 + ], + [ + 16, + 69, + -1 + ], + [ + 16, + 69, + 0 + ], + [ + 16, + 69, + 1 + ] + ], + "interacts": [ + [ + -35, + 69, + -12 + ], + [ + 29, + 76, + 5 + ], + [ + -9, + 69, + -10 + ], + [ + 22, + 85, + -9 + ] + ], + "tnts": [ + [ + -33, + 76.5, + -10 + ], + [ + 28.625, + 78.375, + 6.25 + ], + [ + 29.25, + 78.75, + 5.75 + ], + [ + 28.375, + 77.875, + 1.25 + ] + ] + }, + { + "index": 15, + "etherwarps": [], + "mines": [], + "locations": [ + [ + 13, + 69, + -3 + ], + [ + 12, + 69, + -3 + ], + [ + 10, + 69, + -3 + ], + [ + 9, + 69, + -3 + ], + [ + 7, + 69, + -3 + ], + [ + 6, + 69, + -3 + ], + [ + 9, + 69, + -3 + ], + [ + 11, + 69, + -3 + ], + [ + 12, + 69, + -3 + ] + ], + "interacts": [ + [ + 3, + 69, + -2 + ] + ], + "tnts": [ + [ + 7, + 70.5, + -2 + ] + ] + }, + { + "index": 111, + "etherwarps": [], + "mines": [], + "locations": [ + [ + -1, + 69, + -14 + ], + [ + -1, + 69, + -13 + ], + [ + -1, + 69, + -10 + ], + [ + -1, + 68, + -7 + ], + [ + -2, + 68, + -4 + ], + [ + -2, + 66, + -2 + ], + [ + -2, + 64, + 0 + ], + [ + -2, + 65, + 3 + ], + [ + -2, + 65, + 4 + ], + [ + -2, + 64, + 6 + ], + [ + -2, + 64, + 10 + ], + [ + -2, + 65, + 11 + ], + [ + -2, + 64, + 11 + ], + [ + -2, + 63, + 11 + ] + ], + "interacts": [], + "tnts": [] } ]
\ No newline at end of file diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 2f9d3bc..c317eb4 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -42,7 +42,7 @@ class GlobalSettings extends Feature { this.fixNeuNetworth = new ToggleSetting("Change networth in NEU pv to soopynw", "This should make it a lot more accurate", true, "neu_nw_override", this) this.darkTheme = new ToggleSetting("Dark theme", "This might be scuffed because guis are still made in light theme", false, "dark_theme", this) - this.linkPreview = new ToggleSetting("Link preview", "Shows a preview of where a link will take you", true, "link_preview", this) + // this.linkPreview = new ToggleSetting("Link preview", "Shows a preview of where a link will take you", true, "link_preview", this) this.reportErrorsSetting = new ToggleSetting("Send module errors to soopy server", "This will allow me to more effectivly fix them", false, "privacy_send_errors", this) @@ -119,7 +119,7 @@ class GlobalSettings extends Feature { this.registerEvent("postGuiRender", () => { if (Player.getContainer() && Player.getContainer().getName() === "Cookie Clicker v0.01" && Player.getContainer().getStackInSlot(13)) this.renderCookie() - if (this.linkPreview.getValue() && Client.currentGui && Client.currentGui.get() && Client.currentGui.get().toString().startsWith("net.minecraft.client.gui.GuiConfirmOpenLink")) this.renderWebpage() + // if (this.linkPreview.getValue() && Client.currentGui && Client.currentGui.get() && Client.currentGui.get().toString().startsWith("net.minecraft.client.gui.GuiConfirmOpenLink")) this.renderWebpage() }) this.registerStep(false, 1, () => { if (Player.getContainer() && Player.getContainer().getName() === "Cookie Clicker v0.01" && Player.getContainer().getStackInSlot(13)) this.tickCookie() @@ -138,18 +138,18 @@ class GlobalSettings extends Feature { }) } - renderWebpage() { - let url = this.getField(Client.currentGui.get(), f.linkText) + // renderWebpage() { + // let url = this.getField(Client.currentGui.get(), f.linkText) - let image = renderLibs.getImage("https://soopymc.my.to/api/soopyv2/webpage?webpage=" + url) + // let image = renderLibs.getImage("https://soopymc.my.to/api/soopyv2/webpage?webpage=" + url) - if (image) { - let scale = Renderer.screen.getHeight() * 0.5 / image.getTextureHeight() - image.draw(Renderer.screen.getWidth() / 2 - image.getTextureWidth() * scale / 2, Renderer.screen.getHeight() / 2, scale * image.getTextureWidth(), scale * image.getTextureHeight()) - } else { - Renderer.drawString("Loading website preview...", Renderer.screen.getWidth() / 2 - Renderer.getStringWidth("Loading website preview...") / 2, Renderer.screen.getHeight() * 3 / 4) - } - } + // if (image) { + // let scale = Renderer.screen.getHeight() * 0.5 / image.getTextureHeight() + // image.draw(Renderer.screen.getWidth() / 2 - image.getTextureWidth() * scale / 2, Renderer.screen.getHeight() / 2, scale * image.getTextureWidth(), scale * image.getTextureHeight()) + // } else { + // Renderer.drawString("Loading website preview...", Renderer.screen.getWidth() / 2 - Renderer.getStringWidth("Loading website preview...") / 2, Renderer.screen.getHeight() * 3 / 4) + // } + // } guiClicked(mouseX, mouseY, button, gui, event) { if (gui.class.toString() === "class net.minecraft.client.gui.inventory.GuiChest" && Player.getContainer().getName() === "Cookie Clicker v0.01") { |