Fixed snail breaking addons again

Cope

- Utils.mc --> MeteorClient.mc
- MeteorClient.screenToOpen --> Utils.mc
- others (too lazy)
This commit is contained in:
stormybytes
2021-10-29 19:07:24 +07:00
parent a5993aaa4f
commit 2e1abe481e
11 changed files with 15 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ import com.mojang.brigadier.exceptions.SimpleCommandExceptionType;
import org.apache.commons.lang3.text.WordUtils;
import org.apache.commons.lang3.tuple.Triple;
import static meteordevelopment.meteorclient.utils.Utils.mc;
import static meteordevelopment.meteorclient.MeteorClient.mc;
public class GiveUtils {

View File

@@ -1,5 +1,6 @@
package anticope.rejects.utils;
import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.utils.Utils;
import net.minecraft.block.BlockState;
import net.minecraft.fluid.FluidState;
@@ -16,8 +17,8 @@ public class TntDamage {
for(int k = -5; k <= 5; ++k) {
for(int l = -5; l <= 5; ++l) {
BlockPos blockPos = new BlockPos(j, k, l);
BlockState blockState = Utils.mc.world.getBlockState(blockPos);
FluidState fluidState = Utils.mc.world.getFluidState(blockPos);
BlockState blockState = MeteorClient.mc.world.getBlockState(blockPos);
FluidState fluidState = MeteorClient.mc.world.getFluidState(blockPos);
float h = 2.8F;
Optional<Float> optional = blockState.isAir() && fluidState.isEmpty() ? Optional.empty() : Optional.of(Math.max(blockState.getBlock().getBlastResistance(), fluidState.getBlastResistance()));;

View File

@@ -32,7 +32,7 @@ import java.util.stream.StreamSupport;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import static meteordevelopment.meteorclient.utils.Utils.mc;
import static meteordevelopment.meteorclient.MeteorClient.mc;
public class WorldGenUtils {

View File

@@ -17,7 +17,7 @@ import meteordevelopment.meteorclient.systems.config.Config;
import meteordevelopment.meteorclient.utils.Utils;
import meteordevelopment.meteorclient.utils.player.ChatUtils;
import static meteordevelopment.meteorclient.utils.Utils.mc;
import static meteordevelopment.meteorclient.MeteorClient.mc;
public class Seeds extends System<Seeds> {
private static final Seeds INSTANCE = new Seeds();