aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSychic <47618543+Sychic@users.noreply.github.com>2020-12-17 11:20:12 -0500
committerGitHub <noreply@github.com>2020-12-17 11:20:12 -0500
commit0aea3a9aca943510713daa78dfba725970192268 (patch)
tree37063f9d54fa43c315634193fde31074b3e4f117
parent23bcb1e70e88adc90f184a8a5b7868a28ec81d30 (diff)
parent5a796d45211dfc9a7cc0a63a753e638dea9fc96c (diff)
downloadSkyblockMod-0aea3a9aca943510713daa78dfba725970192268.tar.gz
SkyblockMod-0aea3a9aca943510713daa78dfba725970192268.tar.bz2
SkyblockMod-0aea3a9aca943510713daa78dfba725970192268.zip
Merge branch 'development' into development
-rw-r--r--README.md4
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java8
-rw-r--r--src/main/java/me/Danker/commands/DankerGuiCommand.java7
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java3
-rw-r--r--src/main/java/me/Danker/handlers/TextRenderer.java2
6 files changed, 18 insertions, 8 deletions
diff --git a/README.md b/README.md
index 77a28e8..e948082 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ Discord Server: https://discord.gg/QsEkNQS
- Golden T10/T6/T4 enchant display
- Block AOTD ability
- Block Livid Dagger ability
+- Block placing Flower of Truth/Spirit Sceptre
- Disable Spirit Sceptre messages
- Disable Midas Staff messages
- Disable Implosion messages
@@ -36,6 +37,7 @@ Discord Server: https://discord.gg/QsEkNQS
- Catacombs F7 Stage 3 solvers (Starts with letter, select all colour, ignore arrows on sea lanterns)
- Find correct Livid (with graphic display of HP)
- Experimentation solvers (Ultrasequencer, Chronomatron, Superpairs)
+- Hide tooltips in experiment addons
- Pet background colors based on level
- Golem spawning alerts
- Skill xp/hour tracker
@@ -49,7 +51,7 @@ Discord Server: https://discord.gg/QsEkNQS
## Commands
- /dhelp - Returns this message in-game.
- /dsm - Opens the GUI for Danker's Skyblock Mod.
-- /toggle <gparty/coords/golden/slayercount/rngesusalerts/splitfishing/chatmaddox/spiritbearalerts/aotd/lividdagger/sceptremessages/midasstaffmessages/implosionmessages/healmessages/cooldownmessages/manamessages/petcolors/dungeontimer/golemalerts/expertiselore/skill50display/outlinetext/caketimer/lowhealthnotify/lividsolver/threemanpuzzle/oruopuzzle/blazepuzzle/creeperpuzzle/waterpuzzle/tictactoepuzzle/startswithterminal/selectallterminal/itemframeonsealanterns/ultrasequencer/watchermessage/list> - Toggles features. /toggle list returns values of every toggle.
+- /toggle <gparty/coords/golden/slayercount/rngesusalerts/splitfishing/chatmaddox/spiritbearalerts/aotd/lividdagger/flowerweapons/sceptremessages/petcolors/dungeontimer/golemalerts/expertiselore/skill50display/outlinetext/midasstaffmessages/implosionmessages/healmessages/cooldownmessages/manamessages/caketimer/lowhealthnotify/lividsolver/stopsalvagestarred/notifyslayerslain/threemanpuzzle/oruopuzzle/blazepuzzle/creeperpuzzle/waterpuzzle/tictactoepuzzle/watchermessage/startswithterminal/selectallterminal/clickinorderterminal/blockwrongterminalclicks/itemframeonsealanterns/ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/list> - Toggles features. /toggle list returns values of every toggle.
- /setkey <key> - Sets API key.
- /getkey - Returns key set with /setkey and copies it to your clipboard.
- /loot <zombie/spider/wolf/fishing/catacombs> [winter/spooky/f(1-7)/session] - Returns loot received from slayer quests or fishing stats. /loot fishing winter returns winter sea creatures instead.
diff --git a/build.gradle b/build.gradle
index d046b38..441a4db 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ plugins {
id "net.minecraftforge.gradle.forge" version "2.0.2"
}
*/
-version = "1.8.5-beta4"
+version = "1.8.5-beta5"
group= "me.Danker.DankersSkyblockMod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "Danker's Skyblock Mod"
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 086d579..a1468e4 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -78,7 +78,7 @@ import java.util.regex.Pattern;
public class DankersSkyblockMod
{
public static final String MODID = "Danker's Skyblock Mod";
- public static final String VERSION = "1.8.5-beta3";
+ public static final String VERSION = "1.8.5-beta5";
static double checkItemsNow = 0;
static double itemsChecked = 0;
@@ -1242,7 +1242,7 @@ public class DankersSkyblockMod
public void renderEverything() {
if (Minecraft.getMinecraft().currentScreen instanceof EditLocationsGui) return;
-
+
Minecraft mc = Minecraft.getMinecraft();
if (ToggleCommand.coordsToggled) {
@@ -2927,7 +2927,9 @@ public class DankersSkyblockMod
ArrayList<Block> flowerPlaceable = new ArrayList<>(Arrays.asList(
Blocks.grass,
Blocks.dirt,
- Blocks.flower_pot
+ Blocks.flower_pot,
+ Blocks.tallgrass,
+ Blocks.double_plant
));
if (Utils.inDungeons) {
interactables.add(Blocks.coal_block);
diff --git a/src/main/java/me/Danker/commands/DankerGuiCommand.java b/src/main/java/me/Danker/commands/DankerGuiCommand.java
index 7c9c2f0..380086a 100644
--- a/src/main/java/me/Danker/commands/DankerGuiCommand.java
+++ b/src/main/java/me/Danker/commands/DankerGuiCommand.java
@@ -7,6 +7,7 @@ import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
+import net.minecraft.util.StringUtils;
import java.awt.*;
import java.awt.datatransfer.StringSelection;
@@ -44,6 +45,7 @@ public class DankerGuiCommand extends CommandBase {
debug.append("[spiritbearalerts][").append(ToggleCommand.spiritBearAlerts).append("]\n");
debug.append("[aotd][").append(ToggleCommand.aotdToggled).append("]\n");
debug.append("[lividdagger][").append(ToggleCommand.lividDaggerToggled).append("]\n");
+ debug.append("[flowerweapons][").append(ToggleCommand.flowerWeaponsToggled).append("]\n");
debug.append("[sceptremessages][").append(ToggleCommand.sceptreMessages).append("]\n");
debug.append("[petcolors][").append(ToggleCommand.petColoursToggled).append("]\n");
debug.append("[dungeontimer][").append(ToggleCommand.dungeonTimerToggled).append("]\n");
@@ -65,6 +67,7 @@ public class DankerGuiCommand extends CommandBase {
debug.append("[creeperpuzzle][").append(ToggleCommand.creeperToggled).append("]\n");
debug.append("[waterpuzzle][").append(ToggleCommand.waterToggled).append("]\n");
debug.append("[tictactoepuzzle][").append(ToggleCommand.ticTacToeToggled).append("]\n");
+ debug.append("[watchermessage][").append(ToggleCommand.watcherReadyToggled).append("]\n");
debug.append("[startswithterminal][").append(ToggleCommand.startsWithToggled).append("]\n");
debug.append("[selectallterminal][").append(ToggleCommand.selectAllToggled).append("]\n");
debug.append("[clickinorderterminal][").append(ToggleCommand.clickInOrderToggled).append("]\n");
@@ -73,8 +76,8 @@ public class DankerGuiCommand extends CommandBase {
debug.append("[ultrasequencer][").append(ToggleCommand.ultrasequencerToggled).append("]\n");
debug.append("[chronomatron][").append(ToggleCommand.chronomatronToggled).append("]\n");
debug.append("[superpairs][").append(ToggleCommand.superpairsToggled).append("]\n");
+ debug.append("[hidetooltipsinaddons][").append(ToggleCommand.hideTooltipsInExperimentAddonsToggled).append("]\n");
debug.append("[pickblock][").append(ToggleCommand.swapToPickBlockToggled).append("]\n");
- debug.append("[watchermessage][").append(ToggleCommand.watcherReadyToggled).append("]\n");
debug.append("# Locations\n");
debug.append("[coords][").append(MoveCommand.coordsXY[0]).append(", ").append(MoveCommand.coordsXY[1]).append("]\n");
debug.append("[display][").append(MoveCommand.displayXY[0]).append(", ").append(MoveCommand.displayXY[1]).append("]\n");
@@ -93,7 +96,7 @@ public class DankerGuiCommand extends CommandBase {
debug.append("<None>\n");
} else {
for (ResourcePackRepository.Entry resource : Minecraft.getMinecraft().getResourcePackRepository().getRepositoryEntries()) {
- debug.append("< ").append(resource.getResourcePackName()).append(" >\n");
+ debug.append("< ").append(StringUtils.stripControlCodes(resource.getResourcePackName())).append(" >\n");
}
}
debug.append("```");
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index e5faa69..8cc858f 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -76,7 +76,8 @@ public class ToggleCommand extends CommandBase implements ICommand {
"aotd/lividdagger/flowerweapons/sceptremessages/petcolors/dungeontimer/golemalerts/expertiselore/skill50display/" +
"outlinetext/midasstaffmessages/implosionmessages/healmessages/cooldownmessages/manamessages/caketimer/lowhealthnotify/" +
"lividsolver/stopsalvagestarred/notifyslayerslain/threemanpuzzle/oruopuzzle/blazepuzzle/creeperpuzzle/waterpuzzle/tictactoepuzzle/" +
- "watchermessage/startswithterminal/selectallterminal/clickinorderterminal/blockwrongterminalclicks/itemframeonsealanterns/ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/list>";
+ "watchermessage/startswithterminal/selectallterminal/clickinorderterminal/blockwrongterminalclicks/" +
+ "itemframeonsealanterns/ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/list>";
}
@Override
diff --git a/src/main/java/me/Danker/handlers/TextRenderer.java b/src/main/java/me/Danker/handlers/TextRenderer.java
index cbf196b..769d164 100644
--- a/src/main/java/me/Danker/handlers/TextRenderer.java
+++ b/src/main/java/me/Danker/handlers/TextRenderer.java
@@ -3,6 +3,7 @@ package me.Danker.handlers;
import me.Danker.commands.ToggleCommand;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui;
+import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.StringUtils;
import org.lwjgl.opengl.GL11;
@@ -26,5 +27,6 @@ public class TextRenderer extends Gui {
}
}
GL11.glScaled(scaleReset, scaleReset, scaleReset);
+ GlStateManager.color(1, 1, 1, 1);
}
}