This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.oxcodsnet.roadarchitect.util; | |
import net.minecraft.server.world.ServerWorld; | |
import net.oxcodsnet.roadarchitect.RoadArchitect; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.util.Map; | |
import java.util.Queue; | |
import java.util.concurrent.ConcurrentHashMap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.oxcodsnet.roadarchitect.util; | |
import net.oxcodsnet.roadarchitect.util.model.AABB; | |
import java.util.*; | |
/** | |
* A simple spatial index for paths using a grid hash. | |
* This helps to quickly find nearby paths without a linear scan. | |
*/ |