aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/dungeonRoutes/index.js9
-rw-r--r--features/dungeonRoutes/metadata.json2
-rw-r--r--features/globalSettings/index.js9
-rw-r--r--features/mining/index.js5
4 files changed, 11 insertions, 14 deletions
diff --git a/features/dungeonRoutes/index.js b/features/dungeonRoutes/index.js
index 84c5409..7282822 100644
--- a/features/dungeonRoutes/index.js
+++ b/features/dungeonRoutes/index.js
@@ -49,6 +49,13 @@ class DungeonRoutes extends Feature {
})
if (this.recentLocations.length >= 2) drawLinePoints(this.recentLocations.map(a => [a.loc[0] - 0.5, a.loc[1] + 0.1, a.loc[2] - 0.5]), 0, 0, 255, 2, true)
})
+
+ let roomData = {}
+
+ this.registerCommand("roomname", (...name) => {
+ name = name.join(" ")
+
+ })
}
worldLoad() {
@@ -62,7 +69,7 @@ class DungeonRoutes extends Feature {
if (this.recentLocations.length + this.recentMines.length + this.recentEtherwarps.length + this.recentTnts.length > 50) {
let arrs = [this.recentLocations, this.recentMines, this.recentEtherwarps, this.recentTnts]
let smallestArr = undefined
-
+
if (this.recentLocations[0].id < this.recentMines[0].id && this.recentLocations[0].id < this.recentEtherwarps[0].id) {
this.recentLocations.shift()
return
diff --git a/features/dungeonRoutes/metadata.json b/features/dungeonRoutes/metadata.json
index 783bdd8..c2f2a63 100644
--- a/features/dungeonRoutes/metadata.json
+++ b/features/dungeonRoutes/metadata.json
@@ -1,7 +1,7 @@
{
"name": "Dungeon Routes",
"description": "Routes for dungeons (Coming soontm maby)",
- "isHidden": true,
+ "isHidden": false,
"isTogglable": true,
"defaultEnabled": true,
"sortA": 0
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 85a1dc1..1e4bba1 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -46,8 +46,6 @@ class GlobalSettings extends Feature {
this.reportErrorsSetting = new ToggleSetting("Send module errors to soopy server", "This will allow me to more effectivly fix them", false, "privacy_send_errors", this)
- this.hideFallingBlocks = new ToggleSetting("Hide falling blocks", "NOTE: this may cause more/less lag because of render entity event", false, "hide_falling_sand", this)
-
this.privacySettings = [this.reportErrorsSetting]
this.firstLoadPageData = JSON.parse(FileLib.read("soopyAddonsData", "soopyv2firstloaddata.json") || "{}") || {}
@@ -57,13 +55,6 @@ class GlobalSettings extends Feature {
soopyV2Server.reportErrorsSetting = this.reportErrorsSetting
this.registerChat("&aYour new API key is &r&b${key}&r", this.newKey)
- const EntityFallingBlock = Java.type("net.minecraft.entity.item.EntityFallingBlock");
-
- this.registerEvent('renderEntity', (entity, posVec, partialTicks, event) => {
- if (entity.getEntity() instanceof EntityFallingBlock) {
- cancel(event);
- }
- }).registeredWhen(() => this.hideFallingBlocks.getValue())
this.ranFirstLoadThing = false
diff --git a/features/mining/index.js b/features/mining/index.js
index 98f045c..3502975 100644
--- a/features/mining/index.js
+++ b/features/mining/index.js
@@ -76,6 +76,8 @@ class Mining extends Feature {
this.lastBalAlive = 0
this.balDespawnDebounce = 0
+ this.predictedChestLocations = []
+
this.totalCompact = 0
this.compactProgress = 0
this.compactItems = 0
@@ -183,8 +185,6 @@ class Mining extends Feature {
this.lastSearchedForBase = 0
- this.predictedChestLocations = []
-
let ignoreLocation = undefined
this.registerEvent("worldLoad", () => {
@@ -200,7 +200,6 @@ class Mining extends Feature {
})
let registerActionBar = this.registerCustom("actionbar", (dist) => {
-
let lapis = false
let diamond = false
let emerald = false