public class KickHandler extends BaseArmorUpgradeHandler<IArmorExtensionData>
UPGRADE_PREFIX| Constructor and Description |
|---|
KickHandler() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.EquipmentSlotType |
getEquipmentSlot()
Get the armor slot that this upgrade handler is attached to.
|
net.minecraft.util.ResourceLocation |
getID()
Get a unique ID for this upgrade handler.
|
float |
getIdleAirUsage(ICommonArmorHandler armorHandler)
Returns the usage in mL/tick when this upgrade handler is enabled.
|
int |
getMaxInstallableUpgrades(EnumUpgrade upgrade)
Get the maximum number of the given upgrade which may be installed.
|
EnumUpgrade[] |
getRequiredUpgrades()
Return the upgrades that are required to be in the armor piece to enable this module.
|
getIndex, setIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextensionData, getMinimumPressure, getStringKey, getTranslationKey, onDataFieldUpdated, onInit, onShutdown, onToggle, tickpublic net.minecraft.util.ResourceLocation getID()
IArmorUpgradeHandlerpublic EnumUpgrade[] getRequiredUpgrades()
IArmorUpgradeHandlerpublic int getMaxInstallableUpgrades(EnumUpgrade upgrade)
IArmorUpgradeHandlerupgrade - an upgradepublic float getIdleAirUsage(ICommonArmorHandler armorHandler)
IArmorUpgradeHandlerarmorHandler - the armor handler object (can be used to get upgrades, etc.)public net.minecraft.inventory.EquipmentSlotType getEquipmentSlot()
IArmorUpgradeHandler