Uses of Interface
noppes.npcs.api.item.IItemStack
Packages that use IItemStack
Package
Description
-
Uses of IItemStack in noppes.npcs.api
Methods in noppes.npcs.api that return IItemStackModifier and TypeMethodDescriptionIWorld.createItem
(String name, int size) IWorld.createItemFromNbt
(INbt nbt) abstract IItemStack
NpcAPI.getIItemStack
(net.minecraft.world.item.ItemStack itemstack) IContainer.getItems()
IContainer.getSlot
(int slot) Methods in noppes.npcs.api with parameters of type IItemStackModifier and TypeMethodDescriptionint
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 IItemStackMethods in noppes.npcs.api.block with parameters of type IItemStack -
Uses of IItemStack in noppes.npcs.api.entity
Methods in noppes.npcs.api.entity that return IItemStackModifier and TypeMethodDescriptionIEntityLiving.getArmor
(int slot) Note not all Living Entities support thisIPlayer.getInventoryHeldItem()
IEntityItem.getItem()
IProjectile.getItem()
IEntityLiving.getMainhandItem()
IEntityLiving.getOffhandItem()
Methods in noppes.npcs.api.entity with parameters of type IItemStackModifier and TypeMethodDescriptionIEntity.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
IEntityLiving.setArmor
(int slot, IItemStack item) void
IEntityItem.setItem
(IItemStack item) void
IProjectile.setItem
(IItemStack item) void
IEntityLiving.setMainhandItem
(IItemStack item) void
IEntityLiving.setOffhandItem
(IItemStack item) ICustomNpc.shootItem
(double x, double y, double z, IItemStack item, int accuracy) ICustomNpc.shootItem
(IEntityLiving target, IItemStack item, int accuracy) -
Uses of IItemStack in noppes.npcs.api.entity.data
Methods in noppes.npcs.api.entity.data that return IItemStackModifier and TypeMethodDescriptionINPCInventory.getArmor
(int slot) INPCInventory.getDropItem
(int slot) INPCInventory.getItemsRNG()
INPCInventory.getLeftHand()
INPCInventory.getProjectile()
INPCInventory.getRightHand()
Methods in noppes.npcs.api.entity.data with parameters of type IItemStackModifier and TypeMethodDescriptionvoid
INPCInventory.setArmor
(int slot, IItemStack item) void
INPCInventory.setDropItem
(int slot, IItemStack item, float 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 IItemStackModifier and TypeMethodDescriptionIRoleTrader.getCurrency1
(int slot) IRoleTrader.getCurrency2
(int slot) IRoleTrader.getSold
(int slot) Methods in noppes.npcs.api.entity.data.role with parameters of type IItemStackModifier and TypeMethodDescriptionvoid
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 IItemStackModifier and TypeFieldDescriptionfinal IItemStack
RoleEvent.TradeFailedEvent.currency1
RoleEvent.TraderEvent.currency1
final IItemStack
RoleEvent.TradeFailedEvent.currency2
RoleEvent.TraderEvent.currency2
NpcEvent.DiedEvent.droppedItems
final IItemStack
PlayerEvent.PickUpEvent.item
final IItemStack
PlayerEvent.TossEvent.item
QuestEvent.QuestTurnedInEvent.itemRewards
RoleEvent.TradeFailedEvent.receiving
final IItemStack
RoleEvent.TradeFailedEvent.sold
RoleEvent.TraderEvent.sold
final IItemStack
CustomGuiEvent.SlotEvent.stack
Constructors in noppes.npcs.api.event with parameters of type IItemStackModifierConstructorDescriptionPickUpEvent
(IPlayer player, IItemStack item) TossEvent
(IPlayer player, IItemStack item) -
Uses of IItemStack in noppes.npcs.api.gui
Methods in noppes.npcs.api.gui that return IItemStackModifier and TypeMethodDescriptionIButton.getDisplayItem()
IItemRenderer.getStack()
IItemSlot.getStack()
Methods in noppes.npcs.api.gui with parameters of type IItemStackModifier and TypeMethodDescriptionIComponentsWrapper.addItemRenderer
(int id, int x, int y, int width, int height, IItemStack stack) Add an ItemRendererIComponentsWrapper.addItemSlot
(int x, int y, IItemStack stack) Add an Item Slot to the GUI with an IItemStack already in it.IButton.setDisplayItem
(IItemStack item) IItemRenderer.setStack
(IItemStack p0) IItemSlot.setStack
(IItemStack itemStack) -
Uses of IItemStack in noppes.npcs.api.item
Subinterfaces of IItemStack in noppes.npcs.api.itemModifier and TypeInterfaceDescriptioninterface
interface
interface
interface
Methods in noppes.npcs.api.item that return IItemStackMethods in noppes.npcs.api.item with parameters of type IItemStack -
Uses of IItemStack in noppes.npcs.api.overlay
Methods in noppes.npcs.api.overlay that return IItemStackMethods in noppes.npcs.api.overlay with parameters of type IItemStackModifier and TypeMethodDescriptionIOverlay.addRenderItem
(int id, int x, int y, IItemStack item) IRenderItemOverlay.setItem
(IItemStack p0)