refactor chunk to cache

This commit is contained in:
Leijurv 2018-09-11 10:28:03 -07:00
parent a0a480e2cc
commit 35ed0f6821
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
16 changed files with 25 additions and 25 deletions

View File

@ -18,8 +18,8 @@
package baritone.behavior.impl;
import baritone.behavior.Behavior;
import baritone.chunk.Waypoint;
import baritone.chunk.WorldProvider;
import baritone.cache.Waypoint;
import baritone.cache.WorldProvider;
import baritone.api.event.events.BlockInteractEvent;
import baritone.utils.BlockStateInterface;
import net.minecraft.block.BlockBed;

View File

@ -19,10 +19,10 @@ package baritone.behavior.impl;
import baritone.api.event.events.PathEvent;
import baritone.behavior.Behavior;
import baritone.chunk.CachedChunk;
import baritone.chunk.ChunkPacker;
import baritone.chunk.WorldProvider;
import baritone.chunk.WorldScanner;
import baritone.cache.CachedChunk;
import baritone.cache.ChunkPacker;
import baritone.cache.WorldProvider;
import baritone.cache.WorldScanner;
import baritone.pathing.goals.Goal;
import baritone.pathing.goals.GoalComposite;
import baritone.pathing.goals.GoalTwoBlocks;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.utils.pathing.IBlockTypeAccess;
import baritone.utils.pathing.PathingBlockType;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.utils.pathing.IBlockTypeAccess;
import net.minecraft.block.state.IBlockState;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.Baritone;
import baritone.utils.pathing.IBlockTypeAccess;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.pathing.movement.MovementHelper;
import baritone.utils.Helper;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import com.google.common.collect.ImmutableList;
import net.minecraft.util.math.BlockPos;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import net.minecraft.util.math.BlockPos;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import java.nio.file.Path;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.Baritone;
import baritone.utils.Helper;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import baritone.utils.Helper;
import net.minecraft.block.Block;

View File

@ -21,7 +21,7 @@ import baritone.Baritone;
import baritone.api.event.events.*;
import baritone.api.event.events.type.EventState;
import baritone.api.event.listener.IGameEventListener;
import baritone.chunk.WorldProvider;
import baritone.cache.WorldProvider;
import baritone.utils.BlockStateInterface;
import baritone.utils.Helper;
import baritone.utils.InputOverrideHandler;

View File

@ -18,8 +18,8 @@
package baritone.pathing.calc;
import baritone.Baritone;
import baritone.chunk.CachedWorld;
import baritone.chunk.WorldProvider;
import baritone.cache.CachedWorld;
import baritone.cache.WorldProvider;
import baritone.pathing.calc.openset.BinaryHeapOpenSet;
import baritone.pathing.goals.Goal;
import baritone.pathing.movement.ActionCosts;

View File

@ -18,9 +18,9 @@
package baritone.utils;
import baritone.Baritone;
import baritone.chunk.CachedRegion;
import baritone.chunk.WorldData;
import baritone.chunk.WorldProvider;
import baritone.cache.CachedRegion;
import baritone.cache.WorldData;
import baritone.cache.WorldProvider;
import net.minecraft.block.Block;
import net.minecraft.block.BlockLiquid;
import net.minecraft.block.state.IBlockState;

View File

@ -24,9 +24,9 @@ import baritone.behavior.Behavior;
import baritone.behavior.impl.FollowBehavior;
import baritone.behavior.impl.MineBehavior;
import baritone.behavior.impl.PathingBehavior;
import baritone.chunk.ChunkPacker;
import baritone.chunk.Waypoint;
import baritone.chunk.WorldProvider;
import baritone.cache.ChunkPacker;
import baritone.cache.Waypoint;
import baritone.cache.WorldProvider;
import baritone.pathing.calc.AStarPathFinder;
import baritone.pathing.calc.AbstractNodeCostSearch;
import baritone.pathing.goals.*;

View File

@ -15,7 +15,7 @@
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.chunk;
package baritone.cache;
import org.junit.Test;