Module gomint.api

Interface ItemLog

    • Method Detail

      • create

        static ItemLog create​(int amount)
        Create a new item stack with given class and amount
        Parameters:
        amount - which is used for the creation
      • setLogType

        void setLogType​(ItemLog.Type type)
        Set the type of log
        Parameters:
        type - of log
      • getLogType

        ItemLog.Type getLogType()
        Get the type of this log
        Returns:
        type of log
      • setLogDirection

        void setLogDirection​(ItemLog.Direction direction)
        Set the direction of the log
        Parameters:
        direction - of the log
      • getLogDirection

        ItemLog.Direction getLogDirection()
        Get the direction of this log
        Returns:
        direction of the log