Skip to content

Commit

Permalink
mc
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet committed Dec 20, 2024
1 parent 44b79a4 commit 2a7a769
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
*/
package net.ccbluex.liquidbounce.utils.simulation;

import net.ccbluex.liquidbounce.utils.client.MinecraftInstance;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.world.World;
import org.apache.commons.lang3.tuple.Pair;

public class SimulatedPlayerJavaExtensions extends MinecraftInstance {
public class SimulatedPlayerJavaExtensions {

/**
* This game movement code had to be kept in its original language as it gives proper results.
*/
public Pair<Double, Double> checkForCollision(SimulatedPlayer simPlayer, double velocityX, double velocityZ) {
EntityPlayerSP player = mc.thePlayer;
EntityPlayerSP player = Minecraft.getMinecraft().thePlayer;
World worldObj = player.worldObj;

double d6;
Expand Down

0 comments on commit 2a7a769

Please sign in to comment.