Skip to content

Commit

Permalink
Merge pull request #4576 from rfresh2/1.21.4
Browse files Browse the repository at this point in the history
1.21.4
  • Loading branch information
leijurv authored Dec 8, 2024
2 parents 9d5db72 + 9324fb7 commit 485bec0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@

"depends": {
"fabricloader": ">=0.14.22",
"minecraft": ["1.21.2","1.21.3"]
"minecraft": ["1.21.4"]
}
}
2 changes: 1 addition & 1 deletion forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ A Minecraft pathfinder bot.
modId="minecraft"
mandatory=true
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="[1.21.2, 1.21.3]"
versionRange="[1.21.4]"
ordering="NONE"
side="BOTH"
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ org.gradle.jvmargs=-Xmx4G

available_loaders=fabric,forge,neoforge,tweaker

mod_version=1.12.0
mod_version=1.13.0
maven_group=baritone
archives_base_name=baritone

java_version=21

minecraft_version=1.21.3
minecraft_version=1.21.4

forge_version=53.0.7
forge_version=54.0.5

neoforge_version=6-beta
neoforge_version=9-beta

fabric_version=0.16.7
fabric_version=0.16.9

nether_pathfinder_version=1.4.1

Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ A Minecraft pathfinder bot.
modId="minecraft"
type="required"
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="[1.21.2,1.21.3]"
versionRange="[1.21.4]"
ordering="NONE"
side="BOTH"
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@
import net.minecraft.client.DeltaTracker;
import net.minecraft.client.renderer.GameRenderer;
import net.minecraft.client.renderer.LevelRenderer;
import net.minecraft.client.renderer.LightTexture;
import org.joml.Matrix4f;
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.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;

/**
* @author Brady
Expand All @@ -45,7 +43,7 @@ public class MixinWorldRenderer {
method = "renderLevel",
at = @At("RETURN")
)
private void onStartHand(final GraphicsResourceAllocator graphicsResourceAllocator, final DeltaTracker deltaTracker, final boolean bl, final Camera camera, final GameRenderer gameRenderer, final LightTexture lightTexture, final Matrix4f matrix4f, final Matrix4f matrix4f2, final CallbackInfo ci) {
private void onStartHand(final GraphicsResourceAllocator graphicsResourceAllocator, final DeltaTracker deltaTracker, final boolean bl, final Camera camera, final GameRenderer gameRenderer, final Matrix4f matrix4f, final Matrix4f matrix4f2, final CallbackInfo ci) {
for (IBaritone ibaritone : BaritoneAPI.getProvider().getAllBaritones()) {
PoseStack poseStack = new PoseStack();
poseStack.mulPose(matrix4f);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baritone/utils/PlayerMovementInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class PlayerMovementInput extends ClientInput {
}

@Override
public void tick(boolean p_225607_1_, float f) {
public void tick() {
this.leftImpulse = 0.0F;
this.forwardImpulse = 0.0F;
boolean jumping = handler.isInputForcedDown(Input.JUMP); // oppa gangnam style
Expand Down

0 comments on commit 485bec0

Please sign in to comment.