4jcraft/Minecraft.Client/UI/Screens/HopperScreen.h
2026-03-29 15:50:36 -05:00

21 lines
477 B
C++

#pragma once
#include <memory>
#include "AbstractContainerScreen.h"
class HopperTileEntity;
class MinecartHopper;
class Inventory;
class HopperScreen : public AbstractContainerScreen {
public:
HopperScreen(std::shared_ptr<Inventory> inventory,
std::shared_ptr<Container> hopper);
protected:
virtual void renderLabels();
virtual void renderBg(float a);
private:
std::shared_ptr<Inventory> inventory;
std::shared_ptr<Container> hopper;
};