Skip to content

Commit

Permalink
**0.6.6** AutoMountain update, .wb now .world
Browse files Browse the repository at this point in the history
- Made NewerNewChunk data reset when changing dimension via dying, this is to prevent chunk data mixing between dimensions.
- Renamed the .wb command to .world and renamed the class name from "WorldBorderCoordsCommand" to "WorldInfoCommand"
- The .world command now tells you the default location of the world spawn (if it is not changed via commands), in addition to the location of the world borders. It also tells you if the day/night cycle is on. (I hope to add more stuff soon but alot of the gamerules are not accessible directly)
- Fixed AutoMountain auto rounding your Y level if no starting paused on activating the module. It will auto round your position on activation still if you choose not to start AutoMountain paused.
- Made AutoMountain be able to start staircasing off of blocks that are not one full block in height (chests, slabs, etc.)
  • Loading branch information
etianl authored Aug 20, 2023
1 parent 1c21dcb commit f5b83e7
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 41 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ This will return the lowest block placed with AutoMountain until AutoLavacast is
- **TrailMaker:** Leaves blocks behind you in a trail. Has a place delay option to spread placement further apart. Select the blocks you want to use in the block list setting for it to work. (Credits to etianl :D)
- **TrouserBuild:** It can build either horizontally or vertically according to a 5x5 grid centered on the block you are aiming at. Right click to build at the targeted location. (Credits to etianl, and to Banana for the checkboxes and idea. :D)
- **Voider+:** Replaces the world from the top down. (Credits to Allah-Hack) I added a 3x3 voiding script, a TP foward option for deleting strips, as well as options to set max and minimum height for voiding, and instead of just air it can do water and lava now too.
- **WorldBorderCoordsCommand** Type .wb in chat to tell you the precise coordinates of each of the world borders. (Credits to etianl :D)
- **WorldInfoCommand** Type .world in chat to tell you the precise coordinates of each of the world borders, as well as some other world info. (Credits to etianl :D)

## Known Bugs:
- **AutoLavaCaster Bugs**
Expand All @@ -125,8 +125,6 @@ This will return the lowest block placed with AutoMountain until AutoLavacast is
## Requirements:
- If you are using Minecraft version **1.20.1**, then use the latest **MeteorClient Dev Build of v0.5.4**
- If you are using Minecraft version **1.19.4**, then use **MeteorClient "Full Release" v0.5.3**
- If you are using Minecraft version **1.19.3**, then use **MeteorClient "Full Release" v0.5.2** (v0.5.2 NOT SUPPORTED BY METEOR OR AVAILABLE FOR DOWNLOAD)
- If you are using Minecraft version **1.19.2**, then use **MeteorClient "Full Release" v0.5.1** (v0.5.1 NOT SUPPORTED BY METEOR OR AVAILABLE FOR DOWNLOAD)
- Please try [ViaFabricPlus](https://github.com/FlorianMichael/ViaFabricPlus), which will let you connect to almost any version from a new version client.
- Don't forget to try updating any other mods you are using if your game is crashing.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.14.21

# Mod Properties
mod_version=0.6.5-1.20.1
mod_version=0.6.6-1.20.1
maven_group=pwn.noobs
archives_base_name=1trouser-streak

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/pwn/noobs/trouserstreak/Trouser.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onInitialize() {
Commands.add(new CasterTimer());
Commands.add(new NewChunkCounter());
Commands.add(new BaseFinderCommands());
Commands.add(new WorldBorderCoordsCommand());
Commands.add(new WorldInfoCommand());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package pwn.noobs.trouserstreak.commands;

import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import meteordevelopment.meteorclient.commands.Command;
import meteordevelopment.meteorclient.utils.player.ChatUtils;
import net.minecraft.command.CommandSource;
import net.minecraft.network.packet.c2s.play.JigsawGeneratingC2SPacket;
import net.minecraft.network.packet.s2c.play.AdvancementUpdateS2CPacket;
import net.minecraft.text.Text;
import net.minecraft.world.GameRules;

import static meteordevelopment.meteorclient.MeteorClient.mc;

import static com.mojang.brigadier.Command.SINGLE_SUCCESS;

public class WorldInfoCommand extends Command {
public WorldInfoCommand() {
super("world", "Tells you the coordinates of each world border, and the spawn location.");
}

@Override
public void build(LiteralArgumentBuilder<CommandSource> builder) {
builder.executes(context -> {
ChatUtils.sendMsg(Text.of("East World Border X: "+(int) mc.world.getWorldBorder().getBoundEast()+", West World Border X: "+(int) mc.world.getWorldBorder().getBoundWest()+", South World Border Z: "+(int) mc.world.getWorldBorder().getBoundSouth()+", North World Border Z: "+(int) mc.world.getWorldBorder().getBoundNorth()));
ChatUtils.sendMsg(Text.of("Default WorldSpawn Location (May be different if changed): "+mc.world.getSpawnPos()));
ChatUtils.sendMsg(Text.of("Difficulty: "+mc.world.getDifficulty().toString()));
ChatUtils.sendMsg(Text.of("DO_DAYLIGHT_CYCLE: "+mc.world.getGameRules().getBoolean(GameRules.DO_DAYLIGHT_CYCLE)));
return SINGLE_SUCCESS;
});
}
}
Loading

0 comments on commit f5b83e7

Please sign in to comment.