Fixed snail breaking addons again
Cope - Utils.mc --> MeteorClient.mc - MeteorClient.screenToOpen --> Utils.mc - others (too lazy)
This commit is contained in:
@@ -7,7 +7,7 @@ import anticope.rejects.modules.*;
|
||||
import anticope.rejects.modules.modifier.NoRenderModifier;
|
||||
import anticope.rejects.utils.GiveUtils;
|
||||
import anticope.rejects.utils.RejectsUtils;
|
||||
import meteordevelopment.meteorclient.MeteorAddon;
|
||||
import meteordevelopment.meteorclient.addons.MeteorAddon;
|
||||
import meteordevelopment.meteorclient.MeteorClient;
|
||||
import meteordevelopment.meteorclient.gui.GuiThemes;
|
||||
import meteordevelopment.meteorclient.systems.commands.Commands;
|
||||
|
||||
@@ -2,12 +2,10 @@ package anticope.rejects.commands;
|
||||
|
||||
import anticope.rejects.gui.screens.HeadScreen;
|
||||
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||
|
||||
import net.minecraft.command.CommandSource;
|
||||
|
||||
import meteordevelopment.meteorclient.MeteorClient;
|
||||
import meteordevelopment.meteorclient.gui.GuiThemes;
|
||||
import meteordevelopment.meteorclient.systems.commands.Command;
|
||||
import meteordevelopment.meteorclient.utils.Utils;
|
||||
import net.minecraft.command.CommandSource;
|
||||
|
||||
import static com.mojang.brigadier.Command.SINGLE_SUCCESS;
|
||||
|
||||
@@ -20,7 +18,7 @@ public class HeadsCommand extends Command {
|
||||
@Override
|
||||
public void build(LiteralArgumentBuilder<CommandSource> builder) {
|
||||
builder.executes(ctx -> {
|
||||
MeteorClient.screenToOpen = new HeadScreen(GuiThemes.get());
|
||||
Utils.screenToOpen = new HeadScreen(GuiThemes.get());
|
||||
return SINGLE_SUCCESS;
|
||||
});
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import static meteordevelopment.meteorclient.utils.Utils.mc;
|
||||
import static meteordevelopment.meteorclient.MeteorClient.mc;
|
||||
|
||||
public class HeadScreen extends WindowScreen {
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ import meteordevelopment.meteorclient.systems.modules.Module;
|
||||
import meteordevelopment.meteorclient.utils.render.color.Color;
|
||||
import meteordevelopment.meteorclient.utils.render.color.SettingColor;
|
||||
|
||||
import static meteordevelopment.meteorclient.utils.Utils.mc;
|
||||
import static meteordevelopment.meteorclient.MeteorClient.mc;
|
||||
|
||||
public class MeteorRoundedGuiTheme extends GuiTheme {
|
||||
private final SettingGroup sgGeneral = settings.getDefaultGroup();
|
||||
|
||||
@@ -13,7 +13,7 @@ import meteordevelopment.meteorclient.gui.widgets.pressable.WPressable;
|
||||
import meteordevelopment.meteorclient.systems.modules.Module;
|
||||
import meteordevelopment.meteorclient.utils.Utils;
|
||||
|
||||
import static meteordevelopment.meteorclient.utils.Utils.mc;
|
||||
import static meteordevelopment.meteorclient.MeteorClient.mc;
|
||||
import static org.lwjgl.glfw.GLFW.GLFW_MOUSE_BUTTON_LEFT;
|
||||
import static org.lwjgl.glfw.GLFW.GLFW_MOUSE_BUTTON_RIGHT;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import meteordevelopment.meteorclient.gui.widgets.WTopBar;
|
||||
import meteordevelopment.meteorclient.gui.widgets.pressable.WPressable;
|
||||
import meteordevelopment.meteorclient.utils.render.color.Color;
|
||||
|
||||
import static meteordevelopment.meteorclient.utils.Utils.mc;
|
||||
import static meteordevelopment.meteorclient.MeteorClient.mc;
|
||||
import static org.lwjgl.glfw.GLFW.glfwSetCursorPos;
|
||||
|
||||
public class WMeteorTopBar extends WTopBar implements MeteorWidget {
|
||||
|
||||
@@ -14,7 +14,7 @@ import meteordevelopment.meteorclient.settings.Setting;
|
||||
import meteordevelopment.meteorclient.settings.SettingGroup;
|
||||
import meteordevelopment.meteorclient.systems.modules.movement.Flight;
|
||||
|
||||
import static meteordevelopment.meteorclient.utils.Utils.mc;
|
||||
import static meteordevelopment.meteorclient.MeteorClient.mc;
|
||||
|
||||
@Mixin(Flight.class)
|
||||
public class FlightMixin {
|
||||
|
||||
@@ -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