PlotSquared/Core/src/main/java/com/plotsquared/core/util
Jordan 9f632af0ae
Implement extended world heights from Y-64 to Y319 #3473 (#3473)
* Begin to implement extended world heights:
 - Implemented in Bukkit module (and where required in Core module)

* Implement extended world heights into core module

* Add min gen height to setup,

* Default gen/build heights based on minecraft version

* Few fixes

* Fix up queues

* Address comments

* Make road schematic stuff slightly more efficient by sharing queues

* Minor fixes, don't overlay error many times for the same y

* Fix incorrect schematic paste height, undo changes to HybridUtils

* Overhall regenallroads method to make it work, make sure BukkitChunkCoordinator can/will finish

* Process chunks in order when regenerating all roads

* Address comments

* Address comments

* Ground level//bedrock is at min gen height
 - Add comment on == rather than <= being used
 - It's because it's only checking for the bedrock layer being broken if that's disabled

* Fix offset for min build height in SchematicHandler

* Better javadoc

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>

* Address inclusivity issues for max world height

* Javadocs/comments/deprecation

* Use world min/max heights if present in QueueCoordinator

* Address some deprecations for regions and biome setting

* Add a count for chunks we're currently trying to load to not skip chunks at the end of a queue's edit

* Use minGenHeight + 1 rather than build height in AugmentedUtils

* Create utility method for layer index in GenChunk

* Correct height in HybridUtils, also use minGenHeight + 1

* Don't magically split to 128 height in regeneration

* Add utility methods for world height in QueueCoordinator

* Clean up ClassicPlotManager road creation/removal

* Start generation at min gen height if bedrock is disabled

* min gen height is set in PlotArea

* Add note on schem y normalisation

* Improve plot getVolume method readability

* Don't overly extend height when regenerating road region

* y index utility method in ChunknQueueCoordinator

* Layer index utility method in LocalChunk

* Use version min/max heights if world not present in QueueCoordinator

* Fix min -> max

* Don't allow players to modify outside build height when using plot set  / schematics.
 - Also fixes schematic height issues

* Remove debug

* Address comments

* Switch loadingChunks to AtomicInteger to be safe (in case of multi-threaded)

* Fix "security" issue that was already present

* Ensure sign isn't physicsed

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
2022-03-05 19:03:39 +01:00
..
entity chore: Welcome 2022 2022-01-02 22:22:19 +01:00
helpmenu Display "/plot help" categories only, if the player has permission to access these commands (#3490) 2022-02-08 15:56:29 +01:00
net chore: Welcome 2022 2022-01-02 22:22:19 +01:00
placeholders Fix: Missing Component returns + plot info on unknown plot owner (#3449) 2022-01-19 15:56:31 +01:00
query docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
task chore: Welcome 2022 2022-01-02 22:22:19 +01:00
AnnotationHelper.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
BlockUtil.java chore: Address more violations 2022-01-20 21:01:38 +01:00
ChunkManager.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
ChunkUtil.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
EconHandler.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
EntityUtil.java draft: Address false positives in code style issues (#3461) 2022-01-20 12:39:40 +01:00
EventDispatcher.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
FileBytes.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
FileUtils.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
HashUtil.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
InventoryUtil.java build: Release 6.5.0 2022-02-10 12:32:02 +01:00
ItemUtil.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
LegacyConverter.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
MainUtil.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
MathMan.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PatternUtil.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
Permissions.java docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
PlatformWorldManager.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PlayerManager.java build: Release 6.4.0 2022-01-27 13:49:17 +01:00
PlotAreaConverter.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PlotExpression.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PlotUploader.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PremiumVerification.java docs: Unify true/false style in @return (#3470) 2022-01-24 21:41:54 +01:00
ReflectionUtils.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
RegExUtil.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
RegionManager.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
RegionUtil.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
RuntimeExceptionRunnableVal.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
SchematicHandler.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
SetupUtils.java docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
StringComparison.java chore: Address more violations 2022-01-20 21:01:38 +01:00
StringMan.java build: Release 6.4.0 2022-01-27 13:49:17 +01:00
TabCompletions.java docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
ThreadUtils.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
TimeUtil.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
WEManager.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
WorldUtil.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00