Class ItemHologramLine
java.lang.Object
io.github.projectunified.unihologram.spigot.line.ItemHologramLine
- All Implemented Interfaces:
HologramLine
The hologram line with item
-
Constructor Summary
ConstructorsConstructorDescriptionItemHologramLine(org.bukkit.inventory.ItemStack content) Create a new lineItemHologramLine(org.bukkit.inventory.ItemStack content, Map<String, Object> settings) Create a new line -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackGet the content of the lineGet the extra settings of the lineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unihologram.api.HologramLine
getRawContent
-
Constructor Details
-
ItemHologramLine
Create a new line- Parameters:
content- the contentsettings- the settings
-
ItemHologramLine
public ItemHologramLine(org.bukkit.inventory.ItemStack content) Create a new line- Parameters:
content- the content
-
-
Method Details
-
getContent
@NotNull public org.bukkit.inventory.ItemStack getContent()Description copied from interface:HologramLineGet the content of the line- Specified by:
getContentin interfaceHologramLine- Returns:
- the content
-
getSettings
Description copied from interface:HologramLineGet the extra settings of the line- Specified by:
getSettingsin interfaceHologramLine- Returns:
- the extra settings
-