Class PlayerQuantityHudWrapper
java.lang.Object
dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
- Direct Known Subclasses:
PlayerCustomHudWrapper
Deprecated.
this API will be replaced by a dedicated HUD float wrapper.
Wrapper for a float-based player HUD.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerQuantityHudWrapper(PlayerHudsHolderWrapper playerHUDsHolderWrapper, String namespacedID) Deprecated.Creates a quantity HUD wrapper. -
Method Summary
Modifier and TypeMethodDescriptionfloatDeprecated.Gets the current float value of this HUD.voidsetFloatValue(float value) Deprecated.Sets the current float value of this HUD.Methods inherited from class PlayerHudWrapper
exists, getInitialOffsetX, getNamespacedID, getOffsetX, isVisible, setOffsetX, setVisible
-
Constructor Details
-
PlayerQuantityHudWrapper
public PlayerQuantityHudWrapper(PlayerHudsHolderWrapper playerHUDsHolderWrapper, String namespacedID) Deprecated.Creates a quantity HUD wrapper.- Parameters:
playerHUDsHolderWrapper- the player's HUD holder wrapper.namespacedID- the HUD namespaced id.
-
-
Method Details
-
setFloatValue
public void setFloatValue(float value) Deprecated.Sets the current float value of this HUD.- Parameters:
value- the new value.
-
getFloatValue
public float getFloatValue()Deprecated.Gets the current float value of this HUD.- Returns:
- the current value.
-