Package dev.esophose.playerparticles.gui
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.DyeColorgetDyeColor()Get the DyeColororg.bukkit.MaterialgetMaterial()Get the Material representing this colorjava.lang.StringgetName()Get the name of this colorOrdinaryColorgetOrdinaryColor()Get the OrdinaryColor representing this color
-
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
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
-