4jcraft/Minecraft.Client/UI/BeaconPowerButton.h
2026-03-29 15:52:35 -05:00

18 lines
487 B
C++

#pragma once
#include "AbstractBeaconButton.h"
#include "../../../Minecraft.World/Headers/net.minecraft.world.effect.h"
class BeaconScreen;
class BeaconPowerButton : public AbstractBeaconButton {
public:
BeaconPowerButton(BeaconScreen* screen, int id, int x, int y, int effectId,
int tier);
void renderTooltip(int xm, int ym) override;
bool isSelected() const { return selected; }
private:
BeaconScreen* screen;
int effectId;
int tier;
};