Class ItemHologramLine
java.lang.Object
io.github.projectunified.unihologram.spigot.line.ItemHologramLine
- All Implemented Interfaces:
HologramLine
The hologram line with item
-
Constructor Summary
ConstructorDescriptionItemHologramLine
(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.ItemStack
Get 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, wait
Methods 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:HologramLine
Get the content of the line- Specified by:
getContent
in interfaceHologramLine
- Returns:
- the content
-
getSettings
Description copied from interface:HologramLine
Get the extra settings of the line- Specified by:
getSettings
in interfaceHologramLine
- Returns:
- the extra settings
-