PlotSquared/Core/src/main/java/com/plotsquared/core
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
..
backup docs: Unify true/false style in @return (#3470) 2022-01-24 21:41:54 +01:00
collection chore: Address more violations 2022-01-20 21:01:38 +01:00
command Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
components Don't open the component GUI if the actor has no permission for a specific preset (#3496) 2022-02-10 12:19:35 +01:00
configuration [ci skip] style: Restore GlobalFlagContainer's entry list being sorted alphabetically 2022-01-31 15:50:44 +01:00
database docs: Unify true/false style in @return (#3470) 2022-01-24 21:41:54 +01:00
events docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
generator Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
inject chore: Welcome 2022 2022-01-02 22:22:19 +01:00
listener Restore ability to use PlaceholderAPI in greeting and farewell flag (#3489) 2022-02-10 12:11:39 +01:00
location Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
permissions docs: Add @since annotation for v6 changes (#3471) 2022-01-24 21:46:01 +01:00
player docs: Address dangling @see tags (#3469) 2022-01-24 21:43:35 +01:00
plot Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
queue Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
services/plots chore: Welcome 2022 2022-01-02 22:22:19 +01:00
setup chore: Welcome 2022 2022-01-02 22:22:19 +01:00
synchronization chore: Address more violations 2022-01-20 21:01:38 +01:00
util Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
uuid Replace delombok-ed equals and hashCode methods (#3518) 2022-02-27 18:51:37 +01:00
PlotAPI.java chore: Welcome 2022 2022-01-02 22:22:19 +01:00
PlotPlatform.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
PlotSquared.java Implement extended world heights from Y-64 to Y319 #3473 (#3473) 2022-03-05 19:03:39 +01:00
PlotVersion.java docs: Unify true/false style in @return (#3470) 2022-01-24 21:41:54 +01:00