20 lines
503 B
Markdown
20 lines
503 B
Markdown
# IScriptEntity.giveItem
|
|
|
|
[← IScriptEntity](index.md) · [← Master](../../wiki.md)
|
|
|
|
giveItem(IScriptItemStack stack)
|
|
|
|
void Give item to this entity.
|
|
|
|
void giveItem(IScriptItemStack stack, boolean playSound, boolean dropIfInventoryFull)
|
|
Give item to this entity.
|
|
|
|
boolean hasPotion(Potion potion)
|
|
Check whether given potion effect is present on this entity.
|
|
|
|
boolean isAIEnabled()
|
|
Check whether entity's AI is enabled.
|
|
|
|
boolean isBurning()
|
|
Check whether this entity is on fire.
|