Class GuiInventoryEditData.ColorData

java.lang.Object
dev.esophose.playerparticles.gui.GuiInventoryEditData.ColorData
Enclosing class:
GuiInventoryEditData

protected static class GuiInventoryEditData.ColorData
extends java.lang.Object
A data class used for storing information about the color data
  • Constructor Summary

    Constructors 
    Constructor Description
    ColorData​(org.bukkit.DyeColor dyeColor, org.bukkit.Material material, OrdinaryColor ordinaryColor, java.lang.String nameKey)  
  • Method Summary

    Modifier and Type Method Description
    org.bukkit.DyeColor getDyeColor()
    Get the DyeColor
    org.bukkit.Material getMaterial()
    Get the Material representing this color
    java.lang.String getName()
    Get the name of this color
    OrdinaryColor getOrdinaryColor()
    Get the OrdinaryColor representing this color

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ColorData

      public ColorData​(org.bukkit.DyeColor dyeColor, org.bukkit.Material material, OrdinaryColor ordinaryColor, java.lang.String nameKey)
  • Method Details

    • getDyeColor

      public org.bukkit.DyeColor getDyeColor()
      Get the DyeColor
      Returns:
      The DyeColor
    • getMaterial

      public org.bukkit.Material getMaterial()
      Get the Material representing this color
      Returns:
      The Material
    • getOrdinaryColor

      public OrdinaryColor getOrdinaryColor()
      Get the OrdinaryColor representing this color
      Returns:
      The OrdinaryColor
    • getName

      public java.lang.String getName()
      Get the name of this color
      Returns:
      The name of this color