4jcraft/Minecraft.World/Player/PlayerEnderChestContainer.h
2026-03-06 11:20:45 -06:00

21 lines
504 B
C++

#pragma once
#include "../Containers/SimpleContainer.h"
class EnderChestTileEntity;
class PlayerEnderChestContainer : public SimpleContainer
{
private:
std::shared_ptr<EnderChestTileEntity> activeChest;
public:
PlayerEnderChestContainer();
void setActiveChest(std::shared_ptr<EnderChestTileEntity> activeChest);
void setItemsByTag(ListTag<CompoundTag> *enderItemsList);
ListTag<CompoundTag> *createTag();
bool stillValid(std::shared_ptr<Player> player);
void startOpen();
void stopOpen();
};