Module gomint.api

Interface ItemBucket

    • Method Detail

      • create

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

        void setContent​(ItemBucket.Content type)
        Set content of the bucket
        Parameters:
        type - of the content
      • getContent

        ItemBucket.Content getContent()
        Get the content from this bucket
        Returns:
        content of bucket