-
Notifications
You must be signed in to change notification settings - Fork 6
Improve CubicPlayerManager and add support for third party modded cubic world generators #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 71 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
59181d1
Third party world generator support + rewrite CubicPlayerManager
RecursivePineapple 9bbe100
Sort out chunk + cube ticking
RecursivePineapple 6f0e392
Reduce allocations
RecursivePineapple 29d141c
Cleanup
RecursivePineapple 5dd87b5
Update buildscript
RecursivePineapple 801f620
:prayge: it works + cleanup
RecursivePineapple 0759cc0
Last round of fixes
RecursivePineapple c8d7a31
Sync per player
RecursivePineapple 15ecac4
Don't reuse player array
RecursivePineapple d8c4b43
oops :innocent:
RecursivePineapple f2cea19
cleanup packet creation
RecursivePineapple 392ad03
spotless
RecursivePineapple 6035dc9
Fix client height map
RecursivePineapple 40730e8
Update dependencies.gradle
RecursivePineapple dff74e2
Update CubeProviderServer.java
RecursivePineapple d362333
Introduce pooled zero sized EBS array + fix shrinking issue with tick…
RecursivePineapple 26ec0cb
Fix crash when running /help command
RecursivePineapple ccc5931
Init light manager in the world constructors
RecursivePineapple fedbcd9
Remove list from cube packet
RecursivePineapple c059d79
Move contents of _Column into _Cubes
RecursivePineapple cb0f046
Remove _Column mixin
RecursivePineapple d6d4a4f
Rename _Cubes into MixinChunk
RecursivePineapple 1971c37
Fix trivial MixinChunk warnings
RecursivePineapple fba1d7d
Add Overrides + more cleanup
RecursivePineapple be10f74
Replace redundant references to ICube in MixinChunk (et al) with dire…
RecursivePineapple d1ba159
Clean up entity list mixins in MixinChunk
RecursivePineapple c04f36a
Minor clean up + reformatting
RecursivePineapple 769800f
Remove redundant EBS mixins in MixinChunk
RecursivePineapple 6a34777
Fix chunks per second tracker not printing anything
RecursivePineapple 9547c76
Call onSendCubes again
RecursivePineapple a073411
Fix sync issues related to cube/column watching
RecursivePineapple 579bf4b
Remove 'optimized' compat generator hook and replace it with code tha…
RecursivePineapple 00a6cad
Merge remote-tracking branch 'upstream/world-generators-and-player-ma…
RecursivePineapple 8ece4a0
Fix whitespace
RecursivePineapple 3a6b59b
spotless
RecursivePineapple ed87537
Swap dirty block ShortArrayList -> ShortOpenHashSet
RecursivePineapple 8945bd2
Make isCubeWatched/isColumnWatched more efficient
RecursivePineapple 64eb8e2
Remove unused Cube.lastTicked + Cube.checkAndUpdateTick
RecursivePineapple a502f70
Sort out cube + chunk events
RecursivePineapple c2f83a2
.size() -> .cardinality()
RecursivePineapple 05f6f77
AddressTools add &0xF to getLocalAddress for column
RecursivePineapple 7bd5433
CuboidalCubeSelector typo
RecursivePineapple 2377299
Make ColumnTileEntityMap methods behave more similarly
RecursivePineapple b36200a
spotless
RecursivePineapple 026dc4e
Rename WSSM methods
RecursivePineapple 7709ae5
Mark unwatched cubes dirty
RecursivePineapple b212e0a
Fix cubes rarely getting unwatched
RecursivePineapple 5ea56bc
Split CubeStackBlockView ctor into factory methods
RecursivePineapple 6a6bd80
Fix NPE in wireless redstone (from full pack)
RecursivePineapple 121e476
spotless
RecursivePineapple 2312907
Restore Chunk.inhabitedTime increment
RecursivePineapple 74d5eba
Merge branch 'master' into world-generators-and-player-manager
RecursivePineapple 57e0ab2
Merge fixes
RecursivePineapple cd15cfc
Guard for null columns
RecursivePineapple 939cdcd
Remove player.isWatchingColumn
RecursivePineapple b3740df
Whitespace changes that got skipped
RecursivePineapple c4081b9
Remove redundant getTopFilledSegment inject because it breaks special…
RecursivePineapple 1879693
spotless
RecursivePineapple fa7d4ec
Pull player map + array into separate wrapper collection
RecursivePineapple 939fb09
Rename PacketEncoderCubes
RecursivePineapple f89a7b5
Defer WorldServer init to prevent ChunkEvent.Load from being sent bef…
RecursivePineapple fbcb2e0
Remove commented out method
RecursivePineapple f545054
Remove CompatHandler fakeWorldHeight code because no mod ever expects…
RecursivePineapple 5026348
Make a MC mixin early
RecursivePineapple 5fd55d1
Rename BlockPosMap -> HashMap3D
RecursivePineapple 0857fc0
Replace custom Tuple with fastutils Pair
RecursivePineapple 87ea96c
Minor Cleanup
RecursivePineapple f663424
Rename block/chunk maps and make API more similar
RecursivePineapple c88a973
spotless
RecursivePineapple a7b84f2
Update mod info and add RegionLib as a forge dependency
RecursivePineapple ff50366
Patch MixinWorldGenLakes
RecursivePineapple a6792bf
Use primitive maps & sets for player manager cube/column deltas
RecursivePineapple f8ad6ea
Fix inhabitedTime incrementing
RecursivePineapple 8f70345
spotless
RecursivePineapple ef4fd86
Fix lastChunkInhabitedUpdate always remaining 0
RecursivePineapple eb8984f
Clean up packChunk casting
RecursivePineapple 60deb8d
Merge branch 'master' into world-generators-and-player-manager
RecursivePineapple 44b67f0
Restore previous buildscript files (gradle broke for some reason)
RecursivePineapple 0d25365
update bs
RecursivePineapple 70bd4c6
update deps
RecursivePineapple 53a4687
disable tests
RecursivePineapple File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #This file is generated by updateDaemonJvm | ||
| toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect | ||
| toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect | ||
| toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect | ||
| toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect | ||
| toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/d4fd992c9557644e637ebe98263e0ae7/redirect | ||
| toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/faa12903720d410b387cc69ccafb1a74/redirect | ||
| toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect | ||
| toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect | ||
| toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/8e1d9ee5d0f13e442218f6884a306da1/redirect | ||
| toolchainVendor=ADOPTIUM | ||
| toolchainVersion=25 |
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
46 changes: 24 additions & 22 deletions
46
src/main/java/com/cardinalstar/cubicchunks/api/XYZAddressable.java
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.