Interface EmiStackConvertible


@Experimental public interface EmiStackConvertible
Represents a type that can be implicitly converted into an EmiStack.
  • Method Summary

    Modifier and Type
    Method
    Description
    default EmiStack
    emi()
     
    default EmiStack
    emi(long amount)
     
  • Method Details

    • emi

      @Environment(CLIENT) @Experimental default EmiStack emi()
      Returns:
      The default representation of this type as an EmiStack. If the type has an amount of its own, it will be used. Otherwise, it'll use the default amount for the stack type.
    • emi

      @Environment(CLIENT) @Experimental default EmiStack emi(long amount)
      Returns:
      The default representation of this type as an EmiStack. Uses the provided amount.