4jcraft/Minecraft.World/Player/PlayerEnderChestContainer.h
2026-03-13 17:06:56 -05:00

20 lines
528 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();
};