Package ch.njol.skript.util.slot
Class ThrowableProjectileSlot
java.lang.Object
ch.njol.skript.util.slot.Slot
ch.njol.skript.util.slot.ThrowableProjectileSlot
- All Implemented Interfaces:
 Debuggable,AnyAmount,AnyNamed,AnyProvider
Represents the displayed item of a throwable projectile.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintorg.bukkit.inventory.ItemStackgetItem()org.bukkit.entity.ThrowableProjectilebooleanisSameSlot(Slot slot) Checks if given slot is in same position with this.voidsetAmount(int amount) voidsetItem(@Nullable org.bukkit.inventory.ItemStack item) toString(@Nullable org.bukkit.event.Event event, boolean debug) Methods inherited from class ch.njol.skript.util.slot.Slot
amount, name, setAmount, setName, supportsAmountChange, supportsNameChange, toString 
- 
Constructor Details
- 
ThrowableProjectileSlot
public ThrowableProjectileSlot(org.bukkit.entity.ThrowableProjectile projectile)  
 - 
 - 
Method Details
- 
getItem
public org.bukkit.inventory.ItemStack getItem() - 
setItem
public void setItem(@Nullable @Nullable org.bukkit.inventory.ItemStack item)  - 
getAmount
public int getAmount() - 
setAmount
public void setAmount(int amount)  - 
getProjectile
public org.bukkit.entity.ThrowableProjectile getProjectile() - 
isSameSlot
Description copied from class:SlotChecks if given slot is in same position with this. Ignores slot contents.- Specified by:
 isSameSlotin classSlot- Parameters:
 slot- Another slot- Returns:
 - True if positions equal, false otherwise.
 
 - 
toString
- Parameters:
 event- The event to get information from. This is always null if debug == false.debug- If true this should print more information, if false this should print what is shown to the end user- Returns:
 - String representation of this object
 
 
 -