Basically game on the imports

This commit is contained in:
Brady 2019-09-26 19:02:21 -05:00
parent 0b39b3e7b4
commit 3803bc631b
No known key found for this signature in database
GPG Key ID: 73A788379A197567
36 changed files with 10 additions and 41 deletions

View File

@ -18,7 +18,6 @@
package baritone.api.utils.command; package baritone.api.utils.command;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.Helper; import baritone.api.utils.Helper;
import baritone.api.utils.IPlayerContext; import baritone.api.utils.IPlayerContext;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -25,7 +25,6 @@ import baritone.api.utils.command.helpers.arguments.ArgConsumer;
import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumFacing;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;

View File

@ -18,7 +18,6 @@
package baritone.api.utils.command.datatypes; package baritone.api.utils.command.datatypes;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer;
import baritone.api.utils.command.helpers.tabcomplete.TabCompleteHelper; import baritone.api.utils.command.helpers.tabcomplete.TabCompleteHelper;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityList; import net.minecraft.entity.EntityList;

View File

@ -18,8 +18,6 @@
package baritone.api.utils.command.datatypes; package baritone.api.utils.command.datatypes;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.exception.CommandNotEnoughArgumentsException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer;
import baritone.api.utils.command.helpers.tabcomplete.TabCompleteHelper; import baritone.api.utils.command.helpers.tabcomplete.TabCompleteHelper;
import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumFacing;

View File

@ -19,7 +19,6 @@ package baritone.api.utils.command.datatypes;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;
import net.minecraft.util.math.MathHelper;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;

View File

@ -22,12 +22,17 @@ import baritone.api.utils.Helper;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.argparser.IArgParser; import baritone.api.utils.command.argparser.IArgParser;
import baritone.api.utils.command.argument.CommandArgument; import baritone.api.utils.command.argument.CommandArgument;
import baritone.api.utils.command.datatypes.*; import baritone.api.utils.command.datatypes.IDatatype;
import baritone.api.utils.command.exception.*; import baritone.api.utils.command.datatypes.IDatatypeContext;
import baritone.api.utils.command.datatypes.IDatatypeFor;
import baritone.api.utils.command.datatypes.IDatatypePost;
import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.exception.CommandInvalidTypeException;
import baritone.api.utils.command.exception.CommandNotEnoughArgumentsException;
import baritone.api.utils.command.exception.CommandTooManyArgumentsException;
import baritone.api.utils.command.manager.ICommandManager; import baritone.api.utils.command.manager.ICommandManager;
import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumFacing;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Deque; import java.util.Deque;
import java.util.LinkedList; import java.util.LinkedList;
@ -45,7 +50,7 @@ import java.util.stream.Stream;
* need to retrieve an argument after you've already consumed it - look no further than {@link #consumed()}!</li> * need to retrieve an argument after you've already consumed it - look no further than {@link #consumed()}!</li>
* <li>Easy retrieval of many different types. If you need to retrieve an instance of an int or float for example, * <li>Easy retrieval of many different types. If you need to retrieve an instance of an int or float for example,
* look no further than {@link #getAs(Class)}. If you need a more powerful way of retrieving data, try out the many * look no further than {@link #getAs(Class)}. If you need a more powerful way of retrieving data, try out the many
* {@link #getDatatype(Class)} methods.</li> * {@code getDatatype...} methods.</li>
* <li>It's very easy to throw detailed exceptions. The {@link ArgConsumer} has many different methods that can * <li>It's very easy to throw detailed exceptions. The {@link ArgConsumer} has many different methods that can
* enforce the number of arguments, the type of arguments, and more, throwing different types of * enforce the number of arguments, the type of arguments, and more, throwing different types of
* {@link CommandException}s if something seems off. You're recommended to do all validation and store all needed * {@link CommandException}s if something seems off. You're recommended to do all validation and store all needed

View File

@ -26,7 +26,6 @@ import baritone.api.utils.command.helpers.arguments.ArgConsumer;
import baritone.api.utils.command.manager.ICommandManager; import baritone.api.utils.command.manager.ICommandManager;
import net.minecraft.util.ResourceLocation; import net.minecraft.util.ResourceLocation;
import java.util.Arrays;
import java.util.Comparator; import java.util.Comparator;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.pathing.goals.GoalAxis; import baritone.api.pathing.goals.GoalAxis;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.process.IGetToBlockProcess; import baritone.api.process.IGetToBlockProcess;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.datatypes.RelativeBlockPos; import baritone.api.utils.command.datatypes.RelativeBlockPos;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.cache.IRememberedInventory; import baritone.api.cache.IRememberedInventory;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.pathing.goals.GoalBlock; import baritone.api.pathing.goals.GoalBlock;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.GoalBlock; import baritone.api.pathing.goals.GoalBlock;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.GoalXZ; import baritone.api.pathing.goals.GoalXZ;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.datatypes.RelativeGoalXZ; import baritone.api.utils.command.datatypes.RelativeGoalXZ;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.datatypes.RelativeFile; import baritone.api.utils.command.datatypes.RelativeFile;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.datatypes.BlockById; import baritone.api.utils.command.datatypes.BlockById;

View File

@ -20,7 +20,6 @@ package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.datatypes.EntityClassById; import baritone.api.utils.command.datatypes.EntityClassById;
import baritone.api.utils.command.datatypes.IDatatype;
import baritone.api.utils.command.datatypes.IDatatypeFor; import baritone.api.utils.command.datatypes.IDatatypeFor;
import baritone.api.utils.command.datatypes.NearbyPlayer; import baritone.api.utils.command.datatypes.NearbyPlayer;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.behavior.IPathingBehavior; import baritone.api.behavior.IPathingBehavior;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.process.ICustomGoalProcess; import baritone.api.process.ICustomGoalProcess;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.pathing.goals.GoalInverted; import baritone.api.pathing.goals.GoalInverted;
import baritone.api.process.ICustomGoalProcess; import baritone.api.process.ICustomGoalProcess;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.process.ICustomGoalProcess; import baritone.api.process.ICustomGoalProcess;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.process.IBaritoneProcess; import baritone.api.process.IBaritoneProcess;
import baritone.api.process.PathingCommand; import baritone.api.process.PathingCommand;
import baritone.api.process.PathingCommandType; import baritone.api.process.PathingCommandType;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.calc.IPathingControlManager; import baritone.api.pathing.calc.IPathingControlManager;
import baritone.api.process.IBaritoneProcess; import baritone.api.process.IBaritoneProcess;
import baritone.api.process.PathingCommand; import baritone.api.process.PathingCommand;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.BetterBlockPos; import baritone.api.utils.BetterBlockPos;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.helpers.arguments.ArgConsumer; import baritone.api.utils.command.helpers.arguments.ArgConsumer;

View File

@ -19,7 +19,6 @@ package baritone.utils.command.defaults;
import baritone.Baritone; import baritone.Baritone;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.event.events.RenderEvent; import baritone.api.event.events.RenderEvent;
import baritone.api.event.listener.AbstractGameEventListener; import baritone.api.event.listener.AbstractGameEventListener;
import baritone.api.schematic.*; import baritone.api.schematic.*;
@ -46,8 +45,8 @@ import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3i; import net.minecraft.util.math.Vec3i;
import java.awt.*; import java.awt.*;
import java.util.*;
import java.util.List; import java.util.List;
import java.util.*;
import java.util.function.Function; import java.util.function.Function;
import java.util.stream.Stream; import java.util.stream.Stream;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.GoalXZ; import baritone.api.pathing.goals.GoalXZ;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.pathing.goals.Goal; import baritone.api.pathing.goals.Goal;
import baritone.api.pathing.goals.GoalStrictDirection; import baritone.api.pathing.goals.GoalStrictDirection;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;

View File

@ -18,7 +18,6 @@
package baritone.utils.command.defaults; package baritone.utils.command.defaults;
import baritone.api.IBaritone; import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.utils.command.Command; import baritone.api.utils.command.Command;
import baritone.api.utils.command.exception.CommandException; import baritone.api.utils.command.exception.CommandException;
import baritone.api.utils.command.exception.CommandInvalidStateException; import baritone.api.utils.command.exception.CommandInvalidStateException;