Uses of Class
net.minecraft.item.ItemInstance
Packages that use ItemInstance
Package
Description
-
Uses of ItemInstance in net.minecraft
Fields in net.minecraft declared as ItemInstanceMethods in net.minecraft with parameters of type ItemInstanceModifier and TypeMethodDescriptionbooleanclass_70.method_1831(PlayerBase playerBase, Level level, ItemInstance itemInstance) booleanclass_70.method_1832(PlayerBase playerBase, Level level, ItemInstance itemInstance, int int2, int int3, int int4, int int5) voidclass_556.method_1862(Living living, ItemInstance itemInstance) -
Uses of ItemInstance in net.minecraft.achievement
Fields in net.minecraft.achievement declared as ItemInstanceConstructors in net.minecraft.achievement with parameters of type ItemInstanceModifierConstructorDescriptionAchievement(int ID, String name, int tableColumn, int tableRow, ItemInstance displayItem, Achievement parent) -
Uses of ItemInstance in net.minecraft.block
Methods in net.minecraft.block with parameters of type ItemInstanceModifier and TypeMethodDescriptionprotected voidBlockBase.drop(Level level, int x, int y, int z, ItemInstance itemInstance) -
Uses of ItemInstance in net.minecraft.client
Fields in net.minecraft.client declared as ItemInstanceMethods in net.minecraft.client that return ItemInstanceModifier and TypeMethodDescriptionBaseClientInteractionManager.clickSlot(int syncId, int slotIndex, int clickType, boolean bool, PlayerBase player) MultiPlayerClientInteractionManager.clickSlot(int syncId, int slotIndex, int clickType, boolean bool, PlayerBase player) ClientInventory.getInventoryItem(int index) ClientInventory.takeInventoryItem(int index, int count) Methods in net.minecraft.client with parameters of type ItemInstanceModifier and TypeMethodDescriptionbooleanBaseClientInteractionManager.method_1712(PlayerBase playerBase, Level level, ItemInstance itemInstance) booleanMultiPlayerClientInteractionManager.method_1712(PlayerBase playerBase, Level level, ItemInstance itemInstance) booleanBaseClientInteractionManager.method_1713(PlayerBase playerBase, Level level, ItemInstance itemInstance, int x, int y, int z, int int2) booleanMultiPlayerClientInteractionManager.method_1713(PlayerBase playerBase, Level level, ItemInstance itemInstance, int x, int y, int z, int int2) voidClientInventory.setInventoryItem(int slot, ItemInstance stack) -
Uses of ItemInstance in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type ItemInstanceModifier and TypeMethodDescriptionvoidWorldRenderer.method_1547(PlayerBase playerBase, HitResult hitResult, int int2, ItemInstance itemInstance, float float2) voidWorldRenderer.method_1554(PlayerBase playerBase, HitResult hitResult, int int2, ItemInstance itemInstance, float float2) -
Uses of ItemInstance in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type ItemInstanceModifier and TypeMethodDescriptionvoidItemRenderer.method_1487(TextRenderer textRenderer, TextureManager textureManager, ItemInstance itemInstance, int int2, int int3) voidItemRenderer.method_1488(TextRenderer textRenderer, TextureManager textureManager, ItemInstance item, int int2, int int3) -
Uses of ItemInstance in net.minecraft.container
Methods in net.minecraft.container that return ItemInstanceModifier and TypeMethodDescriptionContainerBase.clickSlot(int slotIndex, int clickType, boolean bool, PlayerBase player) Chest.transferSlot(int slotIndex) ContainerBase.transferSlot(int slotIndex) Crafting.transferSlot(int slotIndex) Furnace.transferSlot(int slotIndex) Methods in net.minecraft.container with parameters of type ItemInstanceModifier and TypeMethodDescriptionprotected voidContainerBase.insertItem(ItemInstance itemInstance, int int2, int int3, boolean bool) voidContainerBase.setStack(int slotIndex, ItemInstance stack) voidContainerBase.setStacks(ItemInstance[] stacks) voidContainerListener.updateSlot(ContainerBase container, int slot, ItemInstance item) -
Uses of ItemInstance in net.minecraft.container.slot
Methods in net.minecraft.container.slot that return ItemInstanceMethods in net.minecraft.container.slot with parameters of type ItemInstanceModifier and TypeMethodDescriptionbooleanCraftingResult.canInsert(ItemInstance stack) booleanFurnaceOutput.canInsert(ItemInstance stack) booleanSlot.canInsert(ItemInstance stack) voidCraftingResult.onCrafted(ItemInstance stack) voidFurnaceOutput.onCrafted(ItemInstance stack) voidSlot.onCrafted(ItemInstance stack) voidSlot.setStack(ItemInstance stack) -
Uses of ItemInstance in net.minecraft.entity
Fields in net.minecraft.entity declared as ItemInstanceMethods in net.minecraft.entity that return ItemInstanceModifier and TypeMethodDescriptionMinecart.getInventoryItem(int index) Living.getMonsterHeldItem()EntityBase.method_1377()Minecart.takeInventoryItem(int index, int count) Methods in net.minecraft.entity with parameters of type ItemInstanceModifier and TypeMethodDescriptionEntityBase.dropItem(ItemInstance item, float height) intLiving.method_917(ItemInstance itemInstance) voidMinecart.setInventoryItem(int slot, ItemInstance stack) Constructors in net.minecraft.entity with parameters of type ItemInstanceModifierConstructorDescriptionItem(Level level, double x, double y, double z, ItemInstance itemInstance) -
Uses of ItemInstance in net.minecraft.entity.monster
Fields in net.minecraft.entity.monster declared as ItemInstanceModifier and TypeFieldDescriptionprivate static final ItemInstanceSkeleton.heldItemprivate static final ItemInstanceZombiePigman.heldItemMethods in net.minecraft.entity.monster that return ItemInstanceModifier and TypeMethodDescriptionSkeleton.getMonsterHeldItem()ZombiePigman.getMonsterHeldItem() -
Uses of ItemInstance in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ItemInstanceModifier and TypeFieldDescriptionPlayerInventory.armourprivate ItemInstancePlayerInventory.cursorStackPlayerInventory.mainprivate ItemInstance[]ServerPlayer.shownItemsMethods in net.minecraft.entity.player that return ItemInstanceModifier and TypeMethodDescriptionPlayerInventory.getArmourItem(int int2) PlayerInventory.getCursorItem()PlayerBase.getHeldItem()PlayerInventory.getHeldItem()PlayerInventory.getInventoryItem(int index) ServerPlayer.getShownItem(int index) ServerPlayer.method_1377()PlayerInventory.takeInventoryItem(int index, int count) PlayerContainer.transferSlot(int slotIndex) Methods in net.minecraft.entity.player with parameters of type ItemInstanceModifier and TypeMethodDescriptionbooleanPlayerInventory.addStack(ItemInstance itemInstance) booleanPlayerInventory.containsItem(ItemInstance itemInstance) voidPlayerBase.dropItem(ItemInstance itemInstance) voidPlayerBase.dropItem(ItemInstance itemInstance, boolean bool) private intPlayerInventory.getIdenticalStackSlot(ItemInstance itemInstance) private intPlayerInventory.mergeStacks(ItemInstance itemInstance) intPlayerBase.method_917(ItemInstance itemInstance) voidPlayerInventory.setCursorItem(ItemInstance itemInstance) voidPlayerInventory.setInventoryItem(int slot, ItemInstance stack) voidPlayerBase.updateCursorItem(ItemInstance itemInstance) voidServerPlayer.updateCursorItem(ItemInstance itemInstance) voidServerPlayer.updateSlot(ContainerBase container, int slot, ItemInstance item) -
Uses of ItemInstance in net.minecraft.inventory
Fields in net.minecraft.inventory declared as ItemInstanceModifier and TypeFieldDescriptionprivate ItemInstance[]Chest.contentsprivate ItemInstance[]Crafting.contentsMethods in net.minecraft.inventory that return ItemInstanceModifier and TypeMethodDescriptionChest.getInventoryItem(int index) Crafting.getInventoryItem(int index) DoubleChest.getInventoryItem(int index) InventoryBase.getInventoryItem(int index) Crafting.getInventoryItemXY(int x, int y) Chest.takeInventoryItem(int index, int count) Crafting.takeInventoryItem(int index, int count) DoubleChest.takeInventoryItem(int index, int count) InventoryBase.takeInventoryItem(int index, int count) Methods in net.minecraft.inventory with parameters of type ItemInstanceModifier and TypeMethodDescriptionvoidChest.setInventoryItem(int slot, ItemInstance stack) voidCrafting.setInventoryItem(int slot, ItemInstance stack) voidDoubleChest.setInventoryItem(int slot, ItemInstance stack) voidInventoryBase.setInventoryItem(int slot, ItemInstance stack) -
Uses of ItemInstance in net.minecraft.item
Methods in net.minecraft.item that return ItemInstanceModifier and TypeMethodDescriptionItemInstance.copy()static ItemInstanceItemInstance.copy(ItemInstance itemInstance) ItemInstance.split(int countToTake) Boat.use(ItemInstance item, Level level, PlayerBase player) Egg.use(ItemInstance item, Level level, PlayerBase player) ItemBase.use(ItemInstance item, Level level, PlayerBase player) ItemInstance.use(Level level, PlayerBase playerBase) Snowball.use(ItemInstance item, Level level, PlayerBase player) Methods in net.minecraft.item with parameters of type ItemInstanceModifier and TypeMethodDescriptionstatic booleanItemInstance.areStacksIdentical(ItemInstance itemInstance, ItemInstance itemInstance2) static ItemInstanceItemInstance.copy(ItemInstance itemInstance) floatItemBase.getStrengthOnBlock(ItemInstance item, BlockBase tile) final intItemBase.getTexturePosition(ItemInstance item) Block.getTranslationKey(ItemInstance item) Coal.getTranslationKey(ItemInstance item) Dye.getTranslationKey(ItemInstance item) ItemBase.getTranslationKey(ItemInstance item) StoneSlab.getTranslationKey(ItemInstance item) Wool.getTranslationKey(ItemInstance item) voidDye.interactWithEntity(ItemInstance itemInstance, Living living) voidItemBase.interactWithEntity(ItemInstance itemInstance, Living living) voidSaddle.interactWithEntity(ItemInstance itemInstance, Living living) voidItemBase.inventoryTick(ItemInstance itemInstance, Level level, EntityBase entityBase, int int2, boolean bool) voidMap.inventoryTick(ItemInstance itemInstance, Level level, EntityBase entityBase, int int2, boolean bool) booleanItemInstance.isDamageAndIDIdentical(ItemInstance itemInstance) private booleanItemInstance.isStackIdentical(ItemInstance itemInstance) booleanItemInstance.isStackIdentical2(ItemInstance itemInstance) Map.method_1730(ItemInstance itemInstance, Level level) Map.method_1855(ItemInstance itemInstance, Level level, PlayerBase playerBase) MapBase.method_1855(ItemInstance itemInstance, Level level, PlayerBase playerBase) voidItemBase.onCreation(ItemInstance itemInstance, Level level, PlayerBase playerBase) voidMap.onCreation(ItemInstance itemInstance, Level level, PlayerBase playerBase) booleanItemBase.postHit(ItemInstance itemInstance, Living damageSource, Living damageTarget) booleanSaddle.postHit(ItemInstance itemInstance, Living damageSource, Living damageTarget) booleanItemBase.postMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) Boat.use(ItemInstance item, Level level, PlayerBase player) Egg.use(ItemInstance item, Level level, PlayerBase player) ItemBase.use(ItemInstance item, Level level, PlayerBase player) Snowball.use(ItemInstance item, Level level, PlayerBase player) booleanBed.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanBlock.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanDoor.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanDye.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanFlintAndSteel.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanItemBase.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanMinecart.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanPainting.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanRecord.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanRedstone.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanSecondaryBlock.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanSeeds.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) booleanSign.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) -
Uses of ItemInstance in net.minecraft.item.food
Methods in net.minecraft.item.food that return ItemInstanceModifier and TypeMethodDescriptionFoodBase.use(ItemInstance item, Level level, PlayerBase player) MushroomStew.use(ItemInstance item, Level level, PlayerBase player) Methods in net.minecraft.item.food with parameters of type ItemInstanceModifier and TypeMethodDescriptionFoodBase.use(ItemInstance item, Level level, PlayerBase player) MushroomStew.use(ItemInstance item, Level level, PlayerBase player) -
Uses of ItemInstance in net.minecraft.item.tool
Methods in net.minecraft.item.tool that return ItemInstanceModifier and TypeMethodDescriptionBow.use(ItemInstance item, Level level, PlayerBase player) Bucket.use(ItemInstance item, Level level, PlayerBase player) FishingRod.use(ItemInstance item, Level level, PlayerBase player) Methods in net.minecraft.item.tool with parameters of type ItemInstanceModifier and TypeMethodDescriptionfloatShears.getStrengthOnBlock(ItemInstance item, BlockBase tile) floatSword.getStrengthOnBlock(ItemInstance item, BlockBase tile) floatToolBase.getStrengthOnBlock(ItemInstance item, BlockBase tile) booleanSword.postHit(ItemInstance itemInstance, Living damageSource, Living damageTarget) booleanToolBase.postHit(ItemInstance itemInstance, Living damageSource, Living damageTarget) booleanShears.postMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) booleanSword.postMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) booleanToolBase.postMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) Bow.use(ItemInstance item, Level level, PlayerBase player) Bucket.use(ItemInstance item, Level level, PlayerBase player) FishingRod.use(ItemInstance item, Level level, PlayerBase player) booleanHoe.useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) -
Uses of ItemInstance in net.minecraft.level.storage
Methods in net.minecraft.level.storage with parameters of type ItemInstanceModifier and TypeMethodDescriptionvoidMapStorage.method_667(PlayerBase playerBase, ItemInstance itemInstance) byte[]MapStorage.method_668(ItemInstance itemInstance, Level level, PlayerBase playerBase) byte[]MapStorage.class_200.method_670(ItemInstance itemInstance) -
Uses of ItemInstance in net.minecraft.level.structure
Methods in net.minecraft.level.structure that return ItemInstance -
Uses of ItemInstance in net.minecraft.packet.play
Fields in net.minecraft.packet.play declared as ItemInstanceModifier and TypeFieldDescriptionPlaceBlock0xFC2SPacket.stackSlotClicked0x66C2SPacket.stackSlotUpdate0x67S2CPacket.stackInventoryUpdate0x68S2CPacket.stacksConstructors in net.minecraft.packet.play with parameters of type ItemInstanceModifierConstructorDescriptionEntityEquipment0x5S2CPacket(int entityId, int slot, ItemInstance stack) PlaceBlock0xFC2SPacket(int int2, int int3, int int4, int int5, ItemInstance itemInstance) SlotClicked0x66C2SPacket(int containerId, int slotIndex, int rightClick, boolean holdingShift, ItemInstance stack, short actionType) SlotUpdate0x67S2CPacket(int containerId, int slotIndex, ItemInstance stack) -
Uses of ItemInstance in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ItemInstanceModifier and TypeFieldDescriptionprivate ItemInstance[]ShapedRecipe.ingredientsprivate ItemInstanceShapedRecipe.outputprivate final ItemInstanceShapelessRecipe.outputMethods in net.minecraft.recipe that return ItemInstanceModifier and TypeMethodDescriptionRecipeRegistry.getCraftingOutput(Crafting crafting) Recipe.getOutput()ShapedRecipe.getOutput()ShapelessRecipe.getOutput()SmeltingRecipeRegistry.getResult(int index) Methods in net.minecraft.recipe with parameters of type ItemInstanceModifier and TypeMethodDescription(package private) voidRecipeRegistry.addShapedRecipe(ItemInstance output, Object[] recipeArray) (package private) voidRecipeRegistry.addShapelessRecipe(ItemInstance output, Object[] recipeArray) voidSmeltingRecipeRegistry.addSmeltingRecipe(int inputId, ItemInstance output) Constructors in net.minecraft.recipe with parameters of type ItemInstanceModifierConstructorDescriptionShapedRecipe(int width, int height, ItemInstance[] ingredients, ItemInstance output) ShapelessRecipe(ItemInstance output, List inputs) -
Uses of ItemInstance in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as ItemInstanceModifier and TypeFieldDescriptionprivate ItemInstance[]TileEntityChest.contentsprivate ItemInstance[]TileEntityDispenser.contentsprivate ItemInstance[]TileEntityFurnace.inventoryMethods in net.minecraft.tileentity that return ItemInstanceModifier and TypeMethodDescriptionTileEntityChest.getInventoryItem(int index) TileEntityDispenser.getInventoryItem(int index) TileEntityFurnace.getInventoryItem(int index) TileEntityDispenser.getItemToDispense()TileEntityChest.takeInventoryItem(int index, int count) TileEntityDispenser.takeInventoryItem(int index, int count) TileEntityFurnace.takeInventoryItem(int index, int count) Methods in net.minecraft.tileentity with parameters of type ItemInstanceModifier and TypeMethodDescriptionprivate intTileEntityFurnace.getFuelTime(ItemInstance stack) voidTileEntityChest.setInventoryItem(int slot, ItemInstance stack) voidTileEntityDispenser.setInventoryItem(int slot, ItemInstance stack) voidTileEntityFurnace.setInventoryItem(int slot, ItemInstance stack)