Uses of Interface
noppes.npcs.api.item.IItemStack
-
Uses of IItemStack in noppes.npcs.api
Methods in noppes.npcs.api that return IItemStack Modifier and Type Method Description IItemStack
IWorld. createItem(java.lang.String name, int damage, int size)
IItemStack
IWorld. createItemFromNbt(INbt nbt)
abstract IItemStack
NpcAPI. getIItemStack(net.minecraft.item.ItemStack itemstack)
IItemStack[]
IContainer. getItems()
IItemStack
IContainer. getSlot(int slot)
Methods in noppes.npcs.api with parameters of type IItemStack Modifier and Type Method Description int
IContainer. count(IItemStack item, boolean ignoreDamage, boolean ignoreNBT)
void
IContainer. setSlot(int slot, IItemStack item)
-
Uses of IItemStack in noppes.npcs.api.block
Methods in noppes.npcs.api.block that return IItemStack Modifier and Type Method Description IItemStack
IBlockScripted. getModel()
Methods in noppes.npcs.api.block with parameters of type IItemStack Modifier and Type Method Description void
IBlockScripted. setModel(IItemStack item)
-
Uses of IItemStack in noppes.npcs.api.entity
Methods in noppes.npcs.api.entity that return IItemStack Modifier and Type Method Description IItemStack
IEntityLivingBase. getArmor(int slot)
Note not all Living Entities support thisIItemStack
IPlayer. getInventoryHeldItem()
IItemStack
IEntityItem. getItem()
IItemStack
IProjectile. getItem()
IItemStack
IEntityLivingBase. getMainhandItem()
IItemStack
IEntityLivingBase. getOffhandItem()
Methods in noppes.npcs.api.entity with parameters of type IItemStack Modifier and Type Method Description IEntityItem
IEntity. dropItem(IItemStack item)
void
ICustomNpc. giveItem(IPlayer player, IItemStack item)
If the player can't carry the item it will fall on the ground.boolean
IPlayer. giveItem(IItemStack item)
int
IPlayer. inventoryItemCount(IItemStack item)
Deprecated.void
IPlayer. removeAllItems(IItemStack item)
boolean
IPlayer. removeItem(IItemStack item, int amount)
void
IEntityLivingBase. setArmor(int slot, IItemStack item)
void
IEntityItem. setItem(IItemStack item)
void
IProjectile. setItem(IItemStack item)
void
IEntityLivingBase. setMainhandItem(IItemStack item)
void
IEntityLivingBase. setOffhandItem(IItemStack item)
IProjectile
ICustomNpc. shootItem(double x, double y, double z, IItemStack item, int accuracy)
IProjectile
ICustomNpc. shootItem(IEntityLivingBase target, IItemStack item, int accuracy)
-
Uses of IItemStack in noppes.npcs.api.entity.data
Methods in noppes.npcs.api.entity.data that return IItemStack Modifier and Type Method Description IItemStack
INPCInventory. getArmor(int slot)
IItemStack
INPCInventory. getDropItem(int slot)
IItemStack[]
INPCInventory. getItemsRNG()
IItemStack
INPCInventory. getLeftHand()
IItemStack
INPCInventory. getProjectile()
IItemStack
INPCInventory. getRightHand()
Methods in noppes.npcs.api.entity.data with parameters of type IItemStack Modifier and Type Method Description void
INPCInventory. setArmor(int slot, IItemStack item)
void
INPCInventory. setDropItem(int slot, IItemStack item, int chance)
void
INPCInventory. setLeftHand(IItemStack item)
void
INPCInventory. setProjectile(IItemStack item)
void
INPCInventory. setRightHand(IItemStack item)
-
Uses of IItemStack in noppes.npcs.api.entity.data.role
Methods in noppes.npcs.api.entity.data.role that return IItemStack Modifier and Type Method Description IItemStack
IRoleTrader. getCurrency1(int slot)
IItemStack
IRoleTrader. getCurrency2(int slot)
IItemStack
IRoleTrader. getSold(int slot)
Methods in noppes.npcs.api.entity.data.role with parameters of type IItemStack Modifier and Type Method Description void
IRoleTrader. set(int slot, IItemStack currency, IItemStack currency2, IItemStack sold)
-
Uses of IItemStack in noppes.npcs.api.event
Fields in noppes.npcs.api.event declared as IItemStack Modifier and Type Field Description IItemStack
RoleEvent.TradeFailedEvent. currency1
IItemStack
RoleEvent.TraderEvent. currency1
IItemStack
RoleEvent.TradeFailedEvent. currency2
IItemStack
RoleEvent.TraderEvent. currency2
IItemStack[]
NpcEvent.DiedEvent. droppedItems
IItemStack
CustomContainerEvent.SlotClickedEvent. heldItem
IItemStack
PlayerEvent.PickUpEvent. item
IItemStack
PlayerEvent.TossEvent. item
IItemStack[]
QuestEvent.QuestTurnedInEvent. itemRewards
IItemStack
RoleEvent.TradeFailedEvent. receiving
IItemStack
CustomContainerEvent.SlotClickedEvent. slotItem
IItemStack
RoleEvent.TradeFailedEvent. sold
IItemStack
RoleEvent.TraderEvent. sold
IItemStack
CustomGuiEvent.SlotClickEvent. stack
IItemStack
CustomGuiEvent.SlotEvent. stack
Constructors in noppes.npcs.api.event with parameters of type IItemStack Constructor Description PickUpEvent(IPlayer player, IItemStack item)
SlotClickedEvent(IPlayer player, IContainer container, int slotId, IItemStack slotItem, IItemStack heldItem)
SlotClickEvent(IPlayer player, ICustomGui gui, int slotId, IItemStack stack, int dragType, java.lang.String clickType)
SlotEvent(IPlayer player, ICustomGui gui, int slotId, IItemStack stack)
TossEvent(IPlayer player, IItemStack item)
-
Uses of IItemStack in noppes.npcs.api.gui
Methods in noppes.npcs.api.gui that return IItemStack Modifier and Type Method Description IItemStack
IItemSlot. getStack()
Methods in noppes.npcs.api.gui with parameters of type IItemStack Modifier and Type Method Description IItemSlot
ICustomGui. addItemSlot(int x, int y, IItemStack stack)
Add an Item Slot to the GUI with an IItemStack already in it.IItemSlot
IItemSlot. setStack(IItemStack itemStack)
-
Uses of IItemStack in noppes.npcs.api.item
Subinterfaces of IItemStack in noppes.npcs.api.item Modifier and Type Interface Description interface
IItemArmor
interface
IItemBlock
interface
IItemBook
interface
IItemScripted
Methods in noppes.npcs.api.item that return IItemStack Modifier and Type Method Description IItemStack
IItemStack. copy()
Methods in noppes.npcs.api.item with parameters of type IItemStack Modifier and Type Method Description boolean
IItemStack. compare(IItemStack item, boolean ignoreNBT)