mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
limit chunks non-unloading zone to a circle
This commit is contained in:
parent
b02b454573
commit
15a778299c
6 changed files with 68 additions and 6 deletions
|
|
@ -32,6 +32,8 @@ public:
|
|||
int64_t maxDuration, int loadDistance, uint padding, Player& player
|
||||
) const;
|
||||
|
||||
bool isInLoadingZone(const Player& player, uint padding, int x, int z) const;
|
||||
|
||||
const WorldGenerator* getGenerator() const {
|
||||
return generator.get();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue