Fixed snail breaking addons again
Cope - Utils.mc --> MeteorClient.mc - MeteorClient.screenToOpen --> Utils.mc - others (too lazy)
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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()));;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user