-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.8.8 Added .clearram command + LavaAura update
- Added the GarbageCleanerCommand which is accessable by typing ".cleanram". It cleans the RAM of useless junk and may be very handy for improving performance after chunk tracing for a while and can be used to clear other lag. (credits to [ogmur](https://www.youtube.com/@Ogmur) for writing this) - Changed the default "Don't Burn Range" in LavaAura to 3 from 2.25 because it's safer. - Added a tickdelay option to LavaAura to help you conserve flints when trying the "Burn Everything" option. - Made LavaAura only target lava source blocks for pickup because it was rotating to and trying to snatch up flowing lava with the bucket.
- Loading branch information
Showing
5 changed files
with
85 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 27 additions & 27 deletions
54
src/main/java/pwn/noobs/trouserstreak/commands/GarbageCleanerCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
package pwn.noobs.trouserstreak.commands; | ||
|
||
import com.mojang.brigadier.builder.LiteralArgumentBuilder; | ||
import meteordevelopment.meteorclient.commands.Command; | ||
import net.minecraft.command.CommandSource; | ||
import meteordevelopment.meteorclient.utils.player.ChatUtils; | ||
import net.minecraft.text.Text; | ||
|
||
import static com.mojang.brigadier.Command.SINGLE_SUCCESS; | ||
|
||
public class GarbageCleanerCommand extends Command { | ||
public GarbageCleanerCommand() { | ||
super("cleanram", "Clears garbage from RAM."); // Courtesy of youtube.com/@ogmur | ||
} | ||
|
||
@Override | ||
public void build(LiteralArgumentBuilder<CommandSource> builder) { | ||
builder.executes(context -> { | ||
{ | ||
ChatUtils.sendMsg(Text.of("Cleaning RAM."));} | ||
System.gc(); | ||
{ | ||
ChatUtils.sendMsg(Text.of("RAM Cleared."));} | ||
return SINGLE_SUCCESS; | ||
}); | ||
} | ||
} | ||
package pwn.noobs.trouserstreak.commands; | ||
|
||
import com.mojang.brigadier.builder.LiteralArgumentBuilder; | ||
import meteordevelopment.meteorclient.commands.Command; | ||
import net.minecraft.command.CommandSource; | ||
import meteordevelopment.meteorclient.utils.player.ChatUtils; | ||
import net.minecraft.text.Text; | ||
|
||
import static com.mojang.brigadier.Command.SINGLE_SUCCESS; | ||
|
||
public class GarbageCleanerCommand extends Command { | ||
public GarbageCleanerCommand() { | ||
super("cleanram", "Clears garbage from RAM."); // Courtesy of youtube.com/@ogmur | ||
} | ||
|
||
@Override | ||
public void build(LiteralArgumentBuilder<CommandSource> builder) { | ||
builder.executes(context -> { | ||
{ | ||
ChatUtils.sendMsg(Text.of("Cleaning RAM."));} | ||
System.gc(); | ||
{ | ||
ChatUtils.sendMsg(Text.of("RAM Cleared."));} | ||
return SINGLE_SUCCESS; | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters