0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

[Wurst-Bot] Update to 24w34a

This commit is contained in:
Alexander01998 2024-08-22 10:26:21 +02:00
parent 40b62bc62b
commit df70610746
5 changed files with 8 additions and 8 deletions

View File

@ -5,15 +5,15 @@ org.gradle.parallel=true
# Fabric Properties
# check these at https://fabricmc.net/develop/ and
# https://modrinth.com/mod/fabric-api/versions
minecraft_version=24w33a
yarn_mappings=24w33a+build.28
minecraft_version=24w34a
yarn_mappings=24w34a+build.2
loader_version=0.16.2
# Fabric API
fabric_version=0.102.2+1.21.2
fabric_version=0.102.3+1.21.2
# Mod Properties
mod_version = v7.45-MC24w33a
mod_version = v7.45-MC24w34a
maven_group = net.wurstclient
archives_base_name = Wurst-Client

View File

@ -51,7 +51,7 @@ public enum WurstClient
public static IMinecraftClient IMC;
public static final String VERSION = "7.45";
public static final String MC_VERSION = "24w33a";
public static final String MC_VERSION = "24w34a";
private WurstAnalytics analytics;
private EventManager eventManager;

View File

@ -184,7 +184,7 @@ public class PathFinder
}
// up
if(pos.getY() < MC.world.getTopY() && canGoThrough(up.up())
if(pos.getY() < MC.world.getTopYInclusive() && canGoThrough(up.up())
&& (flying || onGround || canClimbUpAt(pos))
&& (flying || canClimbUpAt(pos) || goal.equals(up)
|| canSafelyStandOn(north) || canSafelyStandOn(east)

View File

@ -231,7 +231,7 @@ public final class BaseFinderHack extends Hack
matchingBlocks.clear();
int stepSize = MC.world.getHeight() / 64;
int startY = MC.world.getTopY() - 1 - modulo * stepSize;
int startY = MC.world.getTopYInclusive() - 1 - modulo * stepSize;
int endY = startY - stepSize;
BlockPos playerPos =

View File

@ -256,7 +256,7 @@ public final class MobSpawnEspHack extends Hack
int minY = world.getBottomY();
int minZ = chunk.getPos().getStartZ();
int maxX = chunk.getPos().getEndX();
int maxY = world.getTopY();
int maxY = world.getTopYInclusive();
int maxZ = chunk.getPos().getEndZ();
for(int x = minX; x <= maxX; x++)