Package com.plotsquared.core.generator
Class HybridUtils
java.lang.Object
com.plotsquared.core.generator.HybridUtils
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHybridUtils(@NonNull PlotAreaManager plotAreaManager, @NonNull ChunkManager chunkManager, @NonNull GlobalBlockQueue blockQueue, @NonNull WorldUtil worldUtil, @NonNull SchematicHandler schematicHandler)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
analyzePlot(Plot origin, RunnableVal<PlotAnalysis> whenDone)
void
analyzeRegion(String world, com.sk89q.worldedit.regions.CuboidRegion region, RunnableVal<PlotAnalysis> whenDone)
int
checkModified(QueueCoordinator queue, int x1, int x2, int y1, int y2, int z1, int z2, com.sk89q.worldedit.world.block.BlockState[] blocks)
int
get_ey(PlotManager pm, QueueCoordinator queue, int sx, int ex, int sz, int ez, int sy)
ArrayList<com.sk89q.worldedit.math.BlockVector2>
getChunks(com.sk89q.worldedit.math.BlockVector2 region)
void
regeneratePlotWalls(PlotArea area)
boolean
regenerateRoad(PlotArea area, com.sk89q.worldedit.math.BlockVector2 chunk, int extend)
boolean
scheduleRoadUpdate(PlotArea area, int extend)
boolean
scheduleRoadUpdate(PlotArea area, Set<com.sk89q.worldedit.math.BlockVector2> regions, int extend, Set<com.sk89q.worldedit.math.BlockVector2> chunks)
boolean
scheduleSingleRegionRoadUpdate(Plot plot, int extend)
boolean
setupRoadSchematic(Plot plot)
-
Field Details
-
manager
-
regions
-
height
public static int height -
chunks
-
area
-
UPDATE
public static boolean UPDATE
-
-
Constructor Details
-
HybridUtils
@Inject public HybridUtils(@NonNull PlotAreaManager plotAreaManager, @NonNull ChunkManager chunkManager, @NonNull GlobalBlockQueue blockQueue, @NonNull WorldUtil worldUtil, @NonNull SchematicHandler schematicHandler)
-
-
Method Details
-
regeneratePlotWalls
-
analyzeRegion
public void analyzeRegion(String world, com.sk89q.worldedit.regions.CuboidRegion region, RunnableVal<PlotAnalysis> whenDone) -
analyzePlot
-
checkModified
public int checkModified(QueueCoordinator queue, int x1, int x2, int y1, int y2, int z1, int z2, com.sk89q.worldedit.world.block.BlockState[] blocks) -
getChunks
public final ArrayList<com.sk89q.worldedit.math.BlockVector2> getChunks(com.sk89q.worldedit.math.BlockVector2 region) -
scheduleRoadUpdate
-
scheduleSingleRegionRoadUpdate
-
scheduleRoadUpdate
-
setupRoadSchematic
-
get_ey
-
regenerateRoad
public boolean regenerateRoad(PlotArea area, com.sk89q.worldedit.math.BlockVector2 chunk, int extend)
-