-
Notifications
You must be signed in to change notification settings - Fork 5
Scripting API ScriptInventoryPlayer
github-actions[bot] edited this page Jul 15, 2026
·
1 revision
Generated from the current Java source. Do not edit this page by hand.
Declaration: public class ScriptInventoryPlayer extends ScriptInventory
Source: src/main/java/dev/adventurecraft/awakening/script/ScriptInventoryPlayer.java
Extends: [[Scripting-API-ScriptInventory|ScriptInventory]]
| Signature | Status | Source |
|---|---|---|
public int getArmorValue() |
Current | line 71 |
public ScriptItem getCurrentItem() |
Current | line 79 |
public ScriptItem getOffhandItem() |
Current | line 88 |
public ScriptItem getCursorItem() |
Current | line 113 |
| Signature | Status | Source |
|---|---|---|
public void setCurrentItem(int var1) |
Current | line 84 |
public void setMainhandSlot(int slot) |
Current | line 97 |
public void setOffhandSlot(int slot) |
Current | line 103 |
public void setCursorItem(ScriptItem var1) |
Current | line 118 |
| Signature | Status | Source |
|---|---|---|
public int getSlotContainingItem(int itemId) |
Current | line 23 |
public int getSlotContainingItemDamage(int itemId, int itemDamage) |
Current | line 44 |
public void changeCurrentItem(int var1) |
Current | line 59 |
public boolean consumeItem(int var1) |
Current | line 63 |
public boolean consumeItemAmount(int var1, int var2, int var3) |
Current | line 67 |
public void dropAllItems() |
Current | line 75 |
public void swapOffhandWithMain() |
Current | line 93 |
public boolean addItem(ScriptItem var1) |
Current | line 109 |
Scripting-API-ScriptInventory · Scripting-API · Scripting-API-ScriptItem
Applies to AC-Legacy 0.6.0 at source revision 439dbe5b157d. Current documentation is generated from the AC-Legacy-Mod source. Historical baseline links point to the AdventureCraft Fandom wiki, whose text is reported as CC-BY-SA. See Fact Checking and Provenance and Verification Status.
AC-Legacy Wiki
Use and authoring
Generated reference
Project and provenance