Skip to content

Commit

Permalink
1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Dec 21, 2024
1 parent 955cd54 commit 6a4f1fd
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 308 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx2G

# Fabric Properties
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11
minecraft_version=1.21.3
yarn_mappings=1.21.3+build.2
loader_version=0.16.9

# Mod Properties
mod_version=2.3
maven_group=cqb13.NumbyHack
archives_base_name=Numby-Hack

meteor_version=0.5.8
meteor_version=0.5.9
1 change: 0 additions & 1 deletion src/main/java/cqb13/NumbyHack/NumbyHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public void onInitialize() {
Modules.get().add(new Beyblade());
Modules.get().add(new BonemealAura());
Modules.get().add(new ChatEncryption());
Modules.get().add(new ChorusExploit());
Modules.get().add(new ConditionToggle());
Modules.get().add(new Confetti());
Modules.get().add(new FloRida());
Expand Down
243 changes: 0 additions & 243 deletions src/main/java/cqb13/NumbyHack/modules/general/ChorusExploit.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ else if (event.packet instanceof ChunkDataS2CPacket && mc.world != null) {


for (int x = 0; x < 16; x++) {
for (int y = mc.world.getBottomY(); y < mc.world.getTopY(); y++) {
for (int y = mc.world.getBottomY(); y < mc.world.getTopYInclusive(); y++) {
for (int z = 0; z < 16; z++) {
FluidState fluid = chunk.getFluidState(x, y, z);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/cqb13/NumbyHack/modules/general/RideStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ private void renderHorseNametag(AbstractHorseEntity horseEntity, Entity entity)
String healthText = " " + String.format("%.1f", health).replace(".", ",");

// Speed
double speed = genericSpeedToBlockPerSecond(horseEntity.getAttributes().getBaseValue(EntityAttributes.GENERIC_MOVEMENT_SPEED));
double speed = genericSpeedToBlockPerSecond(horseEntity.getAttributes().getBaseValue(EntityAttributes.MOVEMENT_SPEED));
String speedText = " " + String.format("%.1f", speed).replace(".", ",") + " bps";

// Jump
double maxJump = jumpStrengthToJumpHeight(horseEntity.getAttributes().getBaseValue(EntityAttributes.GENERIC_JUMP_STRENGTH));
double maxJump = jumpStrengthToJumpHeight(horseEntity.getAttributes().getBaseValue(EntityAttributes.JUMP_STRENGTH));
String maxJumpText = " " + String.format("%.1f", maxJump).replace(".", ",") + "m";

// Inv Slots
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private void onTick(TickEvent.Pre event) {

for (int x = (int) (mc.player.getX() - placeRange); x < mc.player.getX() + placeRange; x++) {
for (int z = (int) (mc.player.getZ() - placeRange); z < mc.player.getZ() + placeRange; z++) {
for (int y = (int) Math.max(mc.world.getBottomY(), mc.player.getY() - placeRange); y < Math.min(mc.world.getTopY(), mc.player.getY() + placeRange); y++) {
for (int y = (int) Math.max(mc.world.getBottomY(), mc.player.getY() - placeRange); y < Math.min(mc.world.getTopYInclusive(), mc.player.getY() + placeRange); y++) {
bp.set(x, y, z);
if (!mc.world.getBlockState(bp).isAir()) blockPosArray.add(new BlockPos(bp));
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cqb13/NumbyHack/modules/hud/ItemCounter.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ public static String getName(Item item) {
if (item == Items.OBSIDIAN) return "Obby";
return Names.get(item);
}
}
}
Loading

0 comments on commit 6a4f1fd

Please sign in to comment.