aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/Main.java
diff options
context:
space:
mode:
authorRoseGoldIsntGay <yoavkau@gmail.com>2022-01-13 18:50:22 +0200
committerRoseGoldIsntGay <yoavkau@gmail.com>2022-01-13 18:50:22 +0200
commit0acbdcf7cd4ee78544b8cf7fbf8fa48dd395f693 (patch)
tree6d99f8779e4cde0aa3d8d40f8501b7e3933b5809 /src/main/java/rosegoldaddons/Main.java
parentf06690a35ed7040db0aed7cec1f8a392eeffa3e7 (diff)
downloadRGA-0acbdcf7cd4ee78544b8cf7fbf8fa48dd395f693.tar.gz
RGA-0acbdcf7cd4ee78544b8cf7fbf8fa48dd395f693.tar.bz2
RGA-0acbdcf7cd4ee78544b8cf7fbf8fa48dd395f693.zip
2.5.1
Diffstat (limited to 'src/main/java/rosegoldaddons/Main.java')
-rw-r--r--src/main/java/rosegoldaddons/Main.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/java/rosegoldaddons/Main.java b/src/main/java/rosegoldaddons/Main.java
index ff89b94..6ca7fc0 100644
--- a/src/main/java/rosegoldaddons/Main.java
+++ b/src/main/java/rosegoldaddons/Main.java
@@ -96,6 +96,7 @@ public class Main {
MinecraftForge.EVENT_BUS.register(new AutoSlayer());
MinecraftForge.EVENT_BUS.register(new PlayerUtils());
MinecraftForge.EVENT_BUS.register(new CanePlanter());
+ MinecraftForge.EVENT_BUS.register(new ArmorStandESPs());
configFile.initialize();
ClientCommandHandler.instance.registerCommand(new OpenSettings());
ClientCommandHandler.instance.registerCommand(new Rosedrobe());
@@ -184,9 +185,14 @@ public class Main {
msg1.setChatStyle(ChatUtils.createClickStyle(ClickEvent.Action.OPEN_URL, "https://cheatersgetbanned.me"));
ChatComponentText msg2 = new ChatComponentText("§0§7Thanks to Harry282 (SBClient):§b https://github.com/Harry282/Skyblock-Client");
msg2.setChatStyle(ChatUtils.createClickStyle(ClickEvent.Action.OPEN_URL, "https://github.com/Harry282/Skyblock-Client"));
- ChatUtils.sendMessage("§0§7Thanks to pizza boy (Pizza Client)");
+ ChatComponentText msg3 = new ChatComponentText("§0§7Thanks to pizza boy (Pizza Client): https://github.com/PizzaboiBestLegit/Pizza-Client");
+ msg3.setChatStyle(ChatUtils.createClickStyle(ClickEvent.Action.OPEN_URL, "https://github.com/PizzaboiBestLegit/Pizza-Client"));
+ ChatComponentText msg4 = new ChatComponentText("§0§7Check out the RoseGoldAddons Discord Server!");
+ msg4.setChatStyle(ChatUtils.createClickStyle(ClickEvent.Action.OPEN_URL, "https://discord.gg/Tmk2hwzdxm"));
Minecraft.getMinecraft().thePlayer.addChatMessage(msg1);
Minecraft.getMinecraft().thePlayer.addChatMessage(msg2);
+ Minecraft.getMinecraft().thePlayer.addChatMessage(msg3);
+ Minecraft.getMinecraft().thePlayer.addChatMessage(msg4);
firstLoginThisSession = false;
} catch (Exception e) {
e.printStackTrace();
@@ -197,7 +203,7 @@ public class Main {
@SubscribeEvent
public void onWorldChange(WorldEvent.Unload event) {
- if(forageOnIsland) {
+ if(forageOnIsland || nukeWood || nukeCrops || mithrilNuker || gemNukeToggle) {
ChatUtils.sendMessage("§cDetected World Change, Stopping All Macros");
forageOnIsland = false;
nukeWood = false;
@@ -211,7 +217,7 @@ public class Main {
public void tick(TickEvent.ClientTickEvent event) {
if (event.phase != TickEvent.Phase.START) return;
if(Minecraft.getMinecraft().gameSettings.limitFramerate == 1) {
- Minecraft.getMinecraft().gameSettings.setOptionFloatValue(GameSettings.Options.FRAMERATE_LIMIT, 240);
+ Minecraft.getMinecraft().gameSettings.setOptionFloatValue(GameSettings.Options.FRAMERATE_LIMIT, 260.0F);
}
if (display != null) {
try {