Move api package in main to api sourceset

This commit is contained in:
Brady 2018-09-11 12:05:12 -05:00
parent 9daf46e30c
commit a0a480e2cc
No known key found for this signature in database
GPG Key ID: 73A788379A197567
16 changed files with 4 additions and 20 deletions

View File

@ -17,9 +17,10 @@
package baritone; package baritone;
import baritone.api.event.GameEventHandler; import baritone.api.event.listener.IGameEventListener;
import baritone.behavior.Behavior; import baritone.behavior.Behavior;
import baritone.behavior.impl.*; import baritone.behavior.impl.*;
import baritone.event.GameEventHandler;
import baritone.utils.InputOverrideHandler; import baritone.utils.InputOverrideHandler;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
@ -99,7 +100,7 @@ public enum Baritone {
return this.initialized; return this.initialized;
} }
public final GameEventHandler getGameEventHandler() { public final IGameEventListener getGameEventHandler() {
return this.gameEventHandler; return this.gameEventHandler;
} }

View File

@ -15,24 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>. * along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/ */
/* package baritone.event;
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.api.event;
import baritone.Baritone; import baritone.Baritone;
import baritone.api.event.events.*; import baritone.api.event.events.*;