Commit Graph

4945 Commits

Author SHA1 Message Date
dordsor21
a71af4e76f Switch loadingChunks to AtomicInteger to be safe (in case of multi-threaded) 2022-03-02 16:35:05 +01:00
dordsor21
5c0e538231 Address comments 2022-03-02 16:35:05 +01:00
dordsor21
db963ffc61 Remove debug 2022-03-02 16:35:05 +01:00
dordsor21
7343319fe6 Don't allow players to modify outside build height when using plot set / schematics.
- Also fixes schematic height issues
2022-03-02 16:35:05 +01:00
dordsor21
dc6d0e089f Fix min -> max 2022-03-02 16:35:05 +01:00
dordsor21
bbe31379e8 Use version min/max heights if world not present in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
7c48fe198d Layer index utility method in LocalChunk 2022-03-02 16:35:05 +01:00
dordsor21
c5ff743c9e y index utility method in ChunknQueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
fc93156362 Don't overly extend height when regenerating road region 2022-03-02 16:35:05 +01:00
dordsor21
c875487173 Improve plot getVolume method readability 2022-03-02 16:35:05 +01:00
dordsor21
a100f497b5 Add note on schem y normalisation 2022-03-02 16:35:05 +01:00
dordsor21
99fa3f403e min gen height is set in PlotArea 2022-03-02 16:35:05 +01:00
dordsor21
be417ae954 Start generation at min gen height if bedrock is disabled 2022-03-02 16:35:05 +01:00
dordsor21
0e4c87fb8f Clean up ClassicPlotManager road creation/removal 2022-03-02 16:35:05 +01:00
dordsor21
a233bfe111 Add utility methods for world height in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
9328695c75 Don't magically split to 128 height in regeneration 2022-03-02 16:35:05 +01:00
dordsor21
8e9a142be8 Correct height in HybridUtils, also use minGenHeight + 1 2022-03-02 16:35:05 +01:00
dordsor21
6cb88505a9 Create utility method for layer index in GenChunk 2022-03-02 16:35:05 +01:00
dordsor21
ae3b86ed53 Use minGenHeight + 1 rather than build height in AugmentedUtils 2022-03-02 16:35:05 +01:00
dordsor21
3d0ceb4eb9 Add a count for chunks we're currently trying to load to not skip chunks at the end of a queue's edit 2022-03-02 16:35:05 +01:00
dordsor21
c8327bfa40 Address some deprecations for regions and biome setting 2022-03-02 16:35:05 +01:00
dordsor21
c4db968830 Use world min/max heights if present in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
852c180bbd Javadocs/comments/deprecation 2022-03-02 16:35:05 +01:00
dordsor21
e45b2ba288 Address inclusivity issues for max world height 2022-03-02 16:35:05 +01:00
Jordan
f45fb8fd6f Better javadoc
Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
2022-03-02 16:35:05 +01:00
dordsor21
b630baef55 Fix offset for min build height in SchematicHandler 2022-03-02 16:35:05 +01:00
dordsor21
d6b2b41c89 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
2022-03-02 16:35:05 +01:00
dordsor21
10c9425826 Address comments 2022-03-02 16:35:05 +01:00
dordsor21
f369ccb30e Address comments 2022-03-02 16:35:05 +01:00
dordsor21
026e3fc17e Process chunks in order when regenerating all roads 2022-03-02 16:35:05 +01:00
dordsor21
b9f6f9b2b8 Overhall regenallroads method to make it work, make sure BukkitChunkCoordinator can/will finish 2022-03-02 16:35:05 +01:00
dordsor21
a12fe280db Fix incorrect schematic paste height, undo changes to HybridUtils 2022-03-02 16:35:05 +01:00
dordsor21
ff60ad1e24 Minor fixes, don't overlay error many times for the same y 2022-03-02 16:35:05 +01:00
dordsor21
7d15cc3ba3 Make road schematic stuff slightly more efficient by sharing queues 2022-03-02 16:35:05 +01:00
dordsor21
4367be9ad0 Address comments 2022-03-02 16:35:05 +01:00
dordsor21
9f4bdaef40 Fix up queues 2022-03-02 16:35:05 +01:00
dordsor21
0d468505bb Few fixes 2022-03-02 16:35:05 +01:00
dordsor21
fae95b758a Default gen/build heights based on minecraft version 2022-03-02 16:35:05 +01:00
dordsor21
f7dd0c1d38 Add min gen height to setup, 2022-03-02 16:35:05 +01:00
dordsor21
80c39ec79a Implement extended world heights into core module 2022-03-02 16:35:05 +01:00
dordsor21
f1d9d4bdc7 Begin to implement extended world heights:
- Implemented in Bukkit module (and where required in Core module)
2022-03-02 16:35:05 +01:00
renovate[bot]
40e1bd9897
build: Update dependency cloud.commandframework:cloud-services to v1.6.2 (#3522)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 16:31:40 +01:00
Hannes Greule
75f31c5bf6
Replace delombok-ed equals and hashCode methods (#3518)
* regenerate leftover delombok-ed equals and hashCode methods

* delegate to hashCode directly instead of single parameter calls
2022-02-27 18:51:37 +01:00
NotMyFault
954c813cef
build: Update gradle wrapper properly 2022-02-27 18:48:37 +01:00
Alex
05e055e9cf
ci: Bump actions/setup-java to 3.0.0 (#3519) 2022-02-25 22:43:24 +01:00
NotMyFault
2ea21c150f
build: Back to snapshot for development 2022-02-23 11:05:40 +01:00
NotMyFault
c2fd4edad5
build: Release 6.5.1 2022-02-23 11:00:45 +01:00
NotMyFault
78b8696778
refactor: Delete rebase.yml 2022-02-23 10:54:07 +01:00
Alex
e653961385
Fix shulkers teleporting on the road (#3501)
* fix: Don't teleport shulkers on the road

* Address comments
2022-02-16 13:48:20 +01:00
renovate[bot]
b21d12fd52
build: Update dependency net.luckperms:api to v5.4 (#3505)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 11:58:35 +01:00