Interface UseItemStackEvent

    • Method Detail

      • originalRemainingDuration

        Ticks originalRemainingDuration()
        Gets the original remaining duration of ItemStack in use.
        Returns:
        The original remaining duration
      • remainingDuration

        Ticks remainingDuration()
        Gets the remaining duration of ItemStack in use.
        Returns:
        The remaining duration
      • setRemainingDuration

        void setRemainingDuration​(Ticks duration)
        Sets the remaining duration of ItemStack in use.
        Parameters:
        duration - The remaining duration to set