Package org.bukkit.material
Class Dye
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Dye
@Deprecated(forRemoval=true,
since="1.13")
public class Dye
extends MaterialData
implements Colorable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents dye
-
Constructor Summary
ConstructorDescriptionDye()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic value -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated, for removal: This API element is subject to removal in a future version.getColor()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current color of this dyevoid
Deprecated, for removal: This API element is subject to removal in a future version.Sets the color of this dyetoString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Dye
public Dye()Deprecated, for removal: This API element is subject to removal in a future version. -
Dye
Deprecated, for removal: This API element is subject to removal in a future version. -
Dye
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
Dye
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
color
- color of the dye
-
-
Method Details
-
getColor
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current color of this dye -
setColor
Deprecated, for removal: This API element is subject to removal in a future version.Sets the color of this dye -
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.