Class LeatherArmorBuilder
java.lang.Object
studio.magemonkey.codex.legacy.item.DataBuilder
studio.magemonkey.codex.legacy.item.LeatherArmorBuilder
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.bukkit.inventory.meta.ItemMeta itemMeta) blue(int blue) color(int[] rgb) color(int red, int green, int blue) color(org.bukkit.Color color) intgetBlue()intgetGreen()intgetRed()getType()green(int green) red(int red) static LeatherArmorBuilderstart()toString()use(org.bukkit.inventory.meta.ItemMeta itemMeta) Methods inherited from class studio.magemonkey.codex.legacy.item.DataBuilder
build
-
Constructor Details
-
LeatherArmorBuilder
-
LeatherArmorBuilder
public LeatherArmorBuilder()
-
-
Method Details
-
red
-
green
-
blue
-
color
-
color
-
color
-
apply
public void apply(org.bukkit.inventory.meta.ItemMeta itemMeta) - Specified by:
applyin classDataBuilder
-
use
- Specified by:
usein classDataBuilder
-
getType
- Specified by:
getTypein classDataBuilder
-
serialize
- Specified by:
serializein interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable- Overrides:
serializein classDataBuilder
-
toString
-
start
-
getRed
public int getRed() -
getGreen
public int getGreen() -
getBlue
public int getBlue()
-