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

22 lines
760 B
C++

#pragma once
#include <memory>
#include "AbstractContainerScreen.h"
#include "../../../Minecraft.World/Headers/net.minecraft.world.entity.animal.h"
class HorseInventoryScreen : public AbstractContainerScreen {
public:
HorseInventoryScreen(std::shared_ptr<Inventory> inventory,
std::shared_ptr<Container> horseContainer,
std::shared_ptr<EntityHorse> horse);
virtual void init() override;
virtual void renderLabels() override;
virtual void renderBg(float a) override;
virtual void render(int xm, int ym, float a) override;
private:
std::shared_ptr<Inventory> inventory;
std::shared_ptr<Container> horseContainer;
std::shared_ptr<EntityHorse> horse;
float xMouse, yMouse;
};