public class AirConClientHandler extends IArmorUpgradeClientHandler.SimpleToggleableHandler<AirConHandler>
IArmorUpgradeClientHandler.AbstractHandler<T extends IArmorUpgradeHandler<?>>, IArmorUpgradeClientHandler.SimpleToggleableHandler<T extends IArmorUpgradeHandler<?>>| Modifier and Type | Field and Description |
|---|---|
static int |
deltaTemp |
| Constructor and Description |
|---|
AirConClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
IGuiAnimatedStat |
getAnimatedStat()
You can return a
IGuiAnimatedStat here, which the HUD Handler will pick up and render. |
IOptionPage |
getGuiOptionsPage(IGuiScreen screen)
When you have some configurable options for your upgrade handler, return a new instance of an
IOptionPage. |
void |
onResolutionChanged()
Called when the screen resolution has changed.
|
void |
tickClient(ICommonArmorHandler armorHandler)
This method is called every client tick, and should be used to update clientside logic for armor upgrades.
|
render2D, render3D, resetgetCommonHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInitialKeyBinding, getKeybindCategory, getSubKeybindCategory, getSubKeybinds, getTriggerKeyBinding, initConfig, isToggleable, onTriggered, saveToConfig, setOverlayColorpublic IOptionPage getGuiOptionsPage(IGuiScreen screen)
IArmorUpgradeClientHandlerIOptionPage.
When you do so, it will automatically get picked up by the armor GUI handler, and a button for the upgrade
will be displayed in the main armor GUI.getGuiOptionsPage in interface IArmorUpgradeClientHandler<AirConHandler>getGuiOptionsPage in class IArmorUpgradeClientHandler.SimpleToggleableHandler<AirConHandler>screen - an instance of the gui Screen objectpublic void tickClient(ICommonArmorHandler armorHandler)
IArmorUpgradeClientHandlerIArmorUpgradeHandler.tick(ICommonArmorHandler, boolean), this method is only called for upgrades
which are actually enabled (or not toggleable).tickClient in interface IArmorUpgradeClientHandler<AirConHandler>tickClient in class IArmorUpgradeClientHandler.SimpleToggleableHandler<AirConHandler>armorHandler - common armor handler for the player wearing this armor piecepublic IGuiAnimatedStat getAnimatedStat()
IArmorUpgradeClientHandlerIGuiAnimatedStat here, which the HUD Handler will pick up and render. It also
automatically opens and closes the stat window as necessary.public void onResolutionChanged()
IArmorUpgradeClientHandler