Skip to content

Commit

Permalink
Refactors to improve consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Oct 11, 2019
1 parent 5e9b439 commit 2f9efae
Show file tree
Hide file tree
Showing 21 changed files with 14 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/api/java/baritone/api/process/IBuilderProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.api.process;

import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.util.math.BlockPos;
Expand Down
2 changes: 0 additions & 2 deletions src/api/java/baritone/api/schematic/AbstractSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;

public abstract class AbstractSchematic implements ISchematic {

protected int x;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;
import net.minecraft.block.state.IBlockState;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;

public class CompositeSchematicEntry {

public final ISchematic schematic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/

package baritone.api.utils;
package baritone.api.schematic;

import net.minecraft.block.state.IBlockState;
import net.minecraft.util.EnumFacing;
Expand Down
1 change: 0 additions & 1 deletion src/api/java/baritone/api/schematic/MaskSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;
import net.minecraft.block.state.IBlockState;

import java.util.List;
Expand Down
1 change: 0 additions & 1 deletion src/api/java/baritone/api/schematic/ReplaceSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package baritone.api.schematic;

import baritone.api.utils.BlockOptionalMetaLookup;
import baritone.api.utils.ISchematic;
import net.minecraft.block.state.IBlockState;

public class ReplaceSchematic extends MaskSchematic {
Expand Down
1 change: 0 additions & 1 deletion src/api/java/baritone/api/schematic/ShellSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;
import net.minecraft.block.state.IBlockState;

public class ShellSchematic extends MaskSchematic {
Expand Down
1 change: 0 additions & 1 deletion src/api/java/baritone/api/schematic/WallsSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package baritone.api.schematic;

import baritone.api.utils.ISchematic;
import net.minecraft.block.state.IBlockState;

public class WallsSchematic extends MaskSchematic {
Expand Down
2 changes: 1 addition & 1 deletion src/api/java/baritone/api/utils/BlockOptionalMeta.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.api.utils;

import baritone.api.accessor.IItemStack;
import baritone.api.utils.accessor.IItemStack;
import com.google.common.collect.ImmutableSet;
import net.minecraft.block.*;
import net.minecraft.block.properties.IProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/

package baritone.api.accessor;
package baritone.api.utils.accessor;

public interface IItemStack {

Expand Down
2 changes: 1 addition & 1 deletion src/launch/java/baritone/launch/mixins/MixinGuiScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.launch.mixins;

import baritone.api.accessor.IGuiScreen;
import baritone.utils.accessor.IGuiScreen;
import net.minecraft.client.gui.GuiScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Invoker;
Expand Down
2 changes: 1 addition & 1 deletion src/launch/java/baritone/launch/mixins/MixinItemStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.launch.mixins;

import baritone.api.accessor.IItemStack;
import baritone.api.utils.accessor.IItemStack;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import org.spongepowered.asm.mixin.Final;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baritone/command/BaritoneChatControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import baritone.api.BaritoneAPI;
import baritone.api.IBaritone;
import baritone.api.Settings;
import baritone.api.accessor.IGuiScreen;
import baritone.utils.accessor.IGuiScreen;
import baritone.api.event.events.ChatEvent;
import baritone.api.event.events.TabCompleteEvent;
import baritone.api.event.listener.AbstractGameEventListener;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baritone/command/defaults/SelCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import baritone.api.utils.BetterBlockPos;
import baritone.api.utils.BlockOptionalMeta;
import baritone.api.utils.BlockOptionalMetaLookup;
import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import baritone.api.command.Command;
import baritone.api.command.datatypes.ForBlockOptionalMeta;
import baritone.api.command.datatypes.ForEnumFacing;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/baritone/process/BuilderProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import baritone.api.process.IBuilderProcess;
import baritone.api.process.PathingCommand;
import baritone.api.process.PathingCommandType;
import baritone.api.schematic.ISchematic;
import baritone.api.utils.*;
import baritone.api.utils.input.Input;
import baritone.pathing.movement.CalculationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/

package baritone.api.accessor;
package baritone.utils.accessor;

import java.net.URI;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baritone/utils/schematic/FillSchematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.utils.schematic;

import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import net.minecraft.block.state.IBlockState;

import java.util.List;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baritone/utils/schematic/Schematic.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.utils.schematic;

import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.nbt.NBTTagCompound;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.utils.schematic.schematica;

import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import com.github.lunatrius.schematica.client.world.SchematicWorld;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package baritone.utils.schematic.schematica;

import baritone.api.utils.ISchematic;
import baritone.api.schematic.ISchematic;
import com.github.lunatrius.schematica.Schematica;
import com.github.lunatrius.schematica.proxy.ClientProxy;
import net.minecraft.util.Tuple;
Expand Down

0 comments on commit 2f9efae

Please sign in to comment.