Class PlayerQuantityHudWrapper

java.lang.Object
dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
Direct Known Subclasses:
PlayerCustomHudWrapper

@Deprecated public class PlayerQuantityHudWrapper extends PlayerHudWrapper
Deprecated.
this API will be replaced by a dedicated HUD float wrapper.
Wrapper for a float-based player HUD.
  • 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.