Class ItemsAdderMaterial
java.lang.Object
com.moyskleytech.obsidian.material.ObsidianMaterial
com.moyskleytech.obsidian.material.implementations.ItemsAdderMaterial
- All Implemented Interfaces:
Comparable<ObsidianMaterial>
ItemsAdder support
-
Constructor Summary
ConstructorsConstructorDescriptionItemsAdderMaterial(dev.lone.itemsadder.api.CustomBlock cb) Build a ItemsAdder support materialItemsAdderMaterial(dev.lone.itemsadder.api.CustomStack cb) Build a ItemsAdder support material -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStacktoItem()Object a ItemStack of the desired materialorg.bukkit.MaterialObtain the bukkit material associated with this material
-
Constructor Details
-
ItemsAdderMaterial
public ItemsAdderMaterial(dev.lone.itemsadder.api.CustomBlock cb) Build a ItemsAdder support material- Parameters:
cb- ItemsAdder format
-
ItemsAdderMaterial
public ItemsAdderMaterial(dev.lone.itemsadder.api.CustomStack cb) Build a ItemsAdder support material- Parameters:
cb- ItemsAdder format
-
-
Method Details
-
toMaterial
public org.bukkit.Material toMaterial()Description copied from class:ObsidianMaterialObtain the bukkit material associated with this material- Specified by:
toMaterialin classObsidianMaterial- Returns:
- the enum value associated
-
toItem
public org.bukkit.inventory.ItemStack toItem()Description copied from class:ObsidianMaterialObject a ItemStack of the desired material- Specified by:
toItemin classObsidianMaterial- Returns:
- new ItemStack
-