Package me.ulrich.outpost.data
Class OptimalItemLine
java.lang.Object
me.ulrich.outpost.data.OptimalItemLine
-
Constructor Summary
ConstructorsConstructorDescriptionOptimalItemLine(OptimalHologram hologram, org.bukkit.inventory.ItemStack itemStack) Create a new Item Line -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackGet theItemStackthat theItemLinecurrently representsvoidsetItemStack(org.bukkit.inventory.ItemStack itemStack) Set theItemStacktheItemLinedisplaysMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.ulrich.outpost.interfaces.Line
updateHologram
-
Constructor Details
-
OptimalItemLine
Create a new Item Line- Parameters:
hologram- The parentOptimalHologramitemStack- The defaultItemStack
-
-
Method Details
-
getItemStack
public org.bukkit.inventory.ItemStack getItemStack()Description copied from interface:ItemLineGet theItemStackthat theItemLinecurrently represents- Specified by:
getItemStackin interfaceItemLine- Returns:
- The current displayed
ItemStack
-
setItemStack
public void setItemStack(org.bukkit.inventory.ItemStack itemStack) Description copied from interface:ItemLineSet theItemStacktheItemLinedisplays- Specified by:
setItemStackin interfaceItemLine- Parameters:
itemStack- TheItemStackto display
-