Module gomint.api

Interface ItemDye

  • All Superinterfaces:
    ItemStack

    public interface ItemDye
    extends ItemStack
    Version:
    1.0
    Author:
    geNAZt
    • Method Detail

      • create

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

        void setDyeType​(DyeType type)
        Set the type of this dye
        Parameters:
        type - of dye
      • getDyeType

        DyeType getDyeType()
        Get the type of dye
        Returns:
        type of dye