
org.bukkit.entity.Item Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.entity;
import org.bukkit.inventory.ItemStack;
/**
* Represents an Item.
*/
public interface Item extends Entity {
/**
* Gets the item stack associated with this item drop.
*
* @return An item stack.
*/
ItemStack getItemStack();
/**
* Sets the item stack associated with this item drop.
*
* @param stack An item stack.
*/
void setItemStack(ItemStack stack);
/**
* Gets the delay before this Item is available to be picked up by players
*
* @return Remaining delay
*/
int getPickupDelay();
/**
* Sets the delay before this Item is available to be picked up by players
*
* @param delay New delay
*/
void setPickupDelay(int delay);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy