smartcmd-MinecraftConsoles/Minecraft.Client/DirtyChunkSorter.h

14 lines
314 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
class Chunk;
class Mob;
2026-03-06 23:25:57 +01:00
class DirtyChunkSorter
2026-03-01 12:16:08 +08:00
{
private:
shared_ptr<LivingEntity> cameraEntity;
2026-03-01 12:16:08 +08:00
int playerIndex; // 4J added
public:
DirtyChunkSorter(shared_ptr<LivingEntity> cameraEntity, int playerIndex); // 4J - added player index
2026-03-01 12:16:08 +08:00
bool operator()(const Chunk *a, const Chunk *b) const;
};