Interface IRewardClient
- All Known Implementing Classes:
RewardItemClient
public interface IRewardClient
-
Method Summary
Modifier and TypeMethodDescriptioncreateButton(IInfoBook infoBook) voiddrawElementInner(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my, AdvancedButton button) Draw the reward.
-
Method Details
-
createButton
- Parameters:
infoBook- The infobook instance.- Returns:
- Factory for a button for this reward.
-
drawElementInner
void drawElementInner(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my, AdvancedButton button) Draw the reward.- Parameters:
gui- The gui.guiGraphics- The gui graphics object.x- Start X.y- Start Y.width- Max width.height- Max height.page- Current page.mx- Mouse X.my- Mouse Y.button- The button of this reward.
-