the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2class Chunk;
3class Mob;
4
5class DirtyChunkSorter : public std::binary_function<const Chunk *,const Chunk *,bool>
6{
7private:
8 shared_ptr<LivingEntity> cameraEntity;
9 int playerIndex; // 4J added
10
11public:
12 DirtyChunkSorter(shared_ptr<LivingEntity> cameraEntity, int playerIndex); // 4J - added player index
13 bool operator()(const Chunk *a, const Chunk *b) const;
14};