4jcraft/targets/minecraft/client/gui/inventory/BrewingStandScreen.h
2026-04-01 19:13:26 -05:00

29 lines
764 B
C++

#pragma once
#include <memory>
#include "AbstractContainerScreen.h"
#include "minecraft/world/inventory/BrewingStandMenu.h"
class BrewingStandMenu;
class BrewingStandTileEntity;
class Inventory;
class BrewingStandScreen : public AbstractContainerScreen {
public:
BrewingStandScreen(std::shared_ptr<Inventory> inventory,
std::shared_ptr<BrewingStandTileEntity> brewingStand);
virtual ~BrewingStandScreen();
void init() override;
void removed() override;
void renderLabels() override;
void renderBg(float a) override;
void render(int xm, int ym, float a) override;
private:
std::shared_ptr<Inventory> inventory;
std::shared_ptr<BrewingStandTileEntity> brewingStand;
BrewingStandMenu* brewMenu;
};