-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.19.4 update, TrouserBuild added, misc fixes
**0.4.6** -Updated to 1.19.4! I still also support 1.19.3, and 1.19.2 for those of you still on those versions. -New Module, TrouserBuild! It can build either horizontally or vertically according to a 5x5 grid centered on the block you are aiming at. -FlightAntikick module added in to substitute the lack of an antikick for velocity flight in MeteorClient. It simply moves you down on a timer. Bind it to the same key as flight. -Removed TrouserFlight module, it was causing issues in 1.19.4. -Removed AutoBuild in favour of TrouserBuild. (I'm trying to do less skids lol.) -Removed the Banana utils used by AutoBuild. -Increased HandofGod range. -Optimised NewerNewChunk detection methods. (still based on liquid flow) -Boom+ removed Instant and Motion modes for fireball for a single Fireball mode. -Boom+ on target option actually spawns fireballs on the target now.
- Loading branch information
Showing
20 changed files
with
1,810 additions
and
278 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
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,16 +1,16 @@ | ||
org.gradle.jvmargs=-Xmx2G | ||
|
||
# Fabric (https://fabricmc.net/versions.html) | ||
minecraft_version=1.19.3 | ||
yarn_mappings=1.19.3+build.3 | ||
loader_version=0.14.11 | ||
minecraft_version=1.19.4 | ||
yarn_mappings=1.19.4+build.1 | ||
loader_version=0.14.17 | ||
|
||
# Mod Properties | ||
mod_version=0.4.5-1.19.3 | ||
mod_version=0.4.6-1.19.4 | ||
maven_group=pwn.noobs | ||
archives_base_name=1trouser-streak | ||
|
||
# Dependency Versionsz | ||
|
||
# Meteor (https://maven.meteordev.org/) | ||
meteor_version=0.5.2-SNAPSHOT | ||
meteor_version=0.5.3-SNAPSHOT |
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
12 changes: 12 additions & 0 deletions
12
src/main/java/pwn/noobs/trouserstreak/events/OffGroundSpeedEvent.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package pwn.noobs.trouserstreak.events; | ||
|
||
public class OffGroundSpeedEvent { | ||
public static final OffGroundSpeedEvent INSTANCE = new OffGroundSpeedEvent(); | ||
|
||
public float speed; | ||
|
||
public static OffGroundSpeedEvent get(float speed) { | ||
INSTANCE.speed = speed; | ||
return INSTANCE; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/pwn/noobs/trouserstreak/mixin/PlayerEntityMixin.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package pwn.noobs.trouserstreak.mixin; | ||
|
||
import pwn.noobs.trouserstreak.events.OffGroundSpeedEvent; | ||
import meteordevelopment.meteorclient.MeteorClient; | ||
import net.minecraft.entity.player.PlayerEntity; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Inject; | ||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; | ||
|
||
@Mixin(PlayerEntity.class) | ||
public class PlayerEntityMixin { | ||
@Inject(method = "getOffGroundSpeed", at = @At("RETURN"), cancellable = true) | ||
private void onGetOffGroundSpeed(CallbackInfoReturnable<Float> cir) { | ||
cir.setReturnValue(MeteorClient.EVENT_BUS.post(OffGroundSpeedEvent.get(cir.getReturnValueF())).speed); | ||
} | ||
} |
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
Oops, something went wrong.