Class EntityTrackOptions
java.lang.Object
me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage<EntityTrackerClientHandler>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.EntityTrackOptions
- All Implemented Interfaces:
IOptionPage
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>> -
Constructor Summary
ConstructorsConstructorDescriptionEntityTrackOptions(IGuiScreen screen, EntityTrackerClientHandler renderHandler) -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould the "Settings" header be displayed?voidpopulateGui(IGuiScreen gui) Here you can initialize your buttons and stuff like with aScreen.voidrenderPost(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float partialTicks) Called immediately afterScreen.render(GuiGraphics, int, int, float)Here you can render additional things like text.voidtick()Called immediately afterScreen.tick()Methods inherited from class me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage
getClientUpgradeHandler, getGuiScreen, getPageName, isToggleable, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseScrolled, renderPreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
getKeybindingButton, settingsYposition
-
Constructor Details
-
EntityTrackOptions
-
-
Method Details
-
populateGui
Description copied from interface:IOptionPageHere you can initialize your buttons and stuff like with aScreen.- Specified by:
populateGuiin interfaceIOptionPage- Overrides:
populateGuiin classIOptionPage.SimpleOptionPage<EntityTrackerClientHandler>- Parameters:
gui- the holding GUI
-
renderPost
public void renderPost(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float partialTicks) Description copied from interface:IOptionPageCalled immediately afterScreen.render(GuiGraphics, int, int, float)Here you can render additional things like text.- Specified by:
renderPostin interfaceIOptionPage- Overrides:
renderPostin classIOptionPage.SimpleOptionPage<EntityTrackerClientHandler>- Parameters:
graphics- the GUI draw contextx- mouse Xy- mouse YpartialTicks- partial ticks since last world ticks
-
tick
public void tick()Description copied from interface:IOptionPageCalled immediately afterScreen.tick() -
displaySettingsHeader
public boolean displaySettingsHeader()Description copied from interface:IOptionPageShould the "Settings" header be displayed?- Specified by:
displaySettingsHeaderin interfaceIOptionPage- Overrides:
displaySettingsHeaderin classIOptionPage.SimpleOptionPage<EntityTrackerClientHandler>- Returns:
- true if the header should be displayed, false otherwise
-