Uses of Interface
net.neoforged.neoforge.items.IItemHandler
Packages that use IItemHandler
Package
Description
-
Uses of IItemHandler in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type IItemHandlerModifier and TypeMethodDescriptionstatic FluidActionResultFluidUtil.tryEmptyContainerAndStow(ItemStack container, IFluidHandler fluidDestination, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doDrain) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryFillContainerAndStow(ItemStack container, IFluidHandler fluidSource, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doFill) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of IItemHandler in net.neoforged.neoforge.items
Subinterfaces of IItemHandler in net.neoforged.neoforge.itemsModifier and TypeInterfaceDescriptioninterfaceDeprecated, for removal: This API element is subject to removal in a future version.Replaced by theIndexModifierinterface for usage inResourceHandlerSlot.Classes in net.neoforged.neoforge.items that implement IItemHandlerModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.UseItemAccessItemHandlerinstead.(package private) classDeprecated, for removal: This API element is subject to removal in a future version.classDeprecated, for removal: This API element is subject to removal in a future version.UseItemStacksResourceHandlerinstead.Fields in net.neoforged.neoforge.items declared as IItemHandlerModifier and TypeFieldDescriptionprivate final IItemHandlerSlotItemHandler.itemHandlerDeprecated, for removal: This API element is subject to removal in a future version.Methods in net.neoforged.neoforge.items that return IItemHandlerModifier and TypeMethodDescriptionItemHandlerCopySlot.getItemHandler()Deprecated, for removal: This API element is subject to removal in a future version.SlotItemHandler.getItemHandler()Deprecated, for removal: This API element is subject to removal in a future version.static IItemHandlerIItemHandler.of(ResourceHandler<ItemResource> handler) Deprecated, for removal: This API element is subject to removal in a future version.Creates a wrapper around an itemResourceHandler, to present it as a legacyIItemHandler.Methods in net.neoforged.neoforge.items with parameters of type IItemHandlerModifier and TypeMethodDescriptionstatic intItemHandlerHelper.calcRedstoneFromInventory(@Nullable IItemHandler inv) Deprecated, for removal: This API element is subject to removal in a future version.static ItemStackItemHandlerHelper.insertItem(IItemHandler dest, ItemStack stack, boolean simulate) Deprecated, for removal: This API element is subject to removal in a future version.static ItemStackItemHandlerHelper.insertItemStacked(IItemHandler inventory, ItemStack stack, boolean simulate) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.items with parameters of type IItemHandlerModifierConstructorDescriptionItemHandlerCopySlot(IItemHandler itemHandler, int index, int xPosition, int yPosition) Deprecated, for removal: This API element is subject to removal in a future version.SlotItemHandler(IItemHandler itemHandler, int index, int xPosition, int yPosition) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of IItemHandler in net.neoforged.neoforge.items.wrapper
Classes in net.neoforged.neoforge.items.wrapper that implement IItemHandlerModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.UseCombinedResourceHandlerinstead.classDeprecated, for removal: This API element is subject to removal in a future version.UseEmptyResourceHandlerinstead.classDeprecated, for removal: This API element is subject to removal in a future version.UseLivingEntityEquipmentWrapperinstead, with theEquipmentSlot.Type.HUMANOID_ARMORequipment type.classDeprecated, for removal: This API element is subject to removal in a future version.UseLivingEntityEquipmentWrapperinstead.classDeprecated, for removal: This API element is subject to removal in a future version.UseLivingEntityEquipmentWrapperinstead, with theEquipmentSlot.Type.HANDequipment type.classDeprecated, for removal: This API element is subject to removal in a future version.UseDelegatingResourceHandlerinstead.classDeprecated, for removal: This API element is subject to removal in a future version.classDeprecated, for removal: This API element is subject to removal in a future version.UsePlayerInventoryWrapperinstead, in particularPlayerInventoryWrapper.getArmorSlots()for the armor slots only.classDeprecated, for removal: This API element is subject to removal in a future version.UsePlayerInventoryWrapperinstead.classDeprecated, for removal: This API element is subject to removal in a future version.UsePlayerInventoryWrapperinstead, in particularPlayerInventoryWrapper.getMainSlots()for the main slots only.classDeprecated, for removal: This API element is subject to removal in a future version.UsePlayerInventoryWrapperinstead, in particularPlayerInventoryWrapper.getHandSlot(net.minecraft.world.InteractionHand)for the offhand only.classDeprecated, for removal: This API element is subject to removal in a future version.UseRangedResourceHandlerinstead.classDeprecated, for removal: This API element is subject to removal in a future version.UseWorldlyContainerWrapperinstead.Fields in net.neoforged.neoforge.items.wrapper declared as IItemHandlerModifier and TypeFieldDescriptionstatic final IItemHandlerEmptyItemHandler.INSTANCEDeprecated, for removal: This API element is subject to removal in a future version.protected final IItemHandlerRecipeWrapper.invDeprecated, for removal: This API element is subject to removal in a future version.Fields in net.neoforged.neoforge.items.wrapper with type parameters of type IItemHandlerModifier and TypeFieldDescriptionprotected final Supplier<IItemHandler> ForwardingItemHandler.delegateDeprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.items.wrapper with parameters of type IItemHandlerModifierConstructorDescriptionForwardingItemHandler(IItemHandler delegate) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in net.neoforged.neoforge.items.wrapper with type arguments of type IItemHandlerModifierConstructorDescriptionForwardingItemHandler(Supplier<IItemHandler> delegate) Deprecated, for removal: This API element is subject to removal in a future version.
ResourceHandlerUtil.move(net.neoforged.neoforge.transfer.ResourceHandler<T>, net.neoforged.neoforge.transfer.ResourceHandler<T>, java.util.function.Predicate<T>, int, net.neoforged.neoforge.transfer.transaction.TransactionContext)with anItemAccess-backed handler as the source.