Uses of Interface
net.neoforged.neoforge.transfer.access.ItemAccess
Packages that use ItemAccess
Package
Description
-
Uses of ItemAccess in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities with type parameters of type ItemAccessModifier and TypeFieldDescriptionstatic final ItemCapability<EnergyHandler, ItemAccess> Capabilities.Energy.ITEMstatic final ItemCapability<ResourceHandler<FluidResource>, ItemAccess> Capabilities.Fluid.ITEMstatic final ItemCapability<ResourceHandler<ItemResource>, ItemAccess> Capabilities.Item.ITEM -
Uses of ItemAccess in net.neoforged.neoforge.fluids.capability
Fields in net.neoforged.neoforge.fluids.capability declared as ItemAccessModifier and TypeFieldDescriptionprivate final ItemAccessFluidResourceHandlerItemAdapter.itemAccessDeprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.fluids.capability with parameters of type ItemAccessModifierConstructorDescriptionFluidResourceHandlerItemAdapter(ResourceHandler<FluidResource> handler, ItemAccess itemAccess) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ItemAccess in net.neoforged.neoforge.transfer
Fields in net.neoforged.neoforge.transfer declared as ItemAccessConstructors in net.neoforged.neoforge.transfer with parameters of type ItemAccessModifierConstructorDescriptionprotectedItemAccessResourceHandler(ItemAccess itemAccess, int size) -
Uses of ItemAccess in net.neoforged.neoforge.transfer.access
Classes in net.neoforged.neoforge.transfer.access that implement ItemAccessModifier and TypeClassDescriptionclass(package private) class(package private) final record(package private) class(package private) classImplementation ofItemAccessthat will mutate a stack directly, possibly changing the components and the count, but never the underlying Item as it's final.Fields in net.neoforged.neoforge.transfer.access declared as ItemAccessModifier and TypeFieldDescriptionprivate final ItemAccessOneByOneItemAccess.delegateThe field for thedelegaterecord component.Methods in net.neoforged.neoforge.transfer.access that return ItemAccessModifier and TypeMethodDescriptionOneByOneItemAccess.delegate()Returns the value of thedelegaterecord component.static ItemAccessItemAccess.forHandlerIndex(ResourceHandler<ItemResource> handler, int index) Creates an item access instance for a specific slot of an item resource handler, with any overflow being sent to the rest of the handler.static ItemAccessItemAccess.forHandlerIndexStrict(ResourceHandler<ItemResource> handler, int index) Creates an item access instance for a specific slot of an item resource handler.static ItemAccessItemAccess.forInfiniteMaterials(Player player, ItemStack contents) Creates an item access instance for a player with infinite materials, i.e. in creative mode.static ItemAccessItemAccess.forPlayerCursor(Player player, AbstractContainerMenu menu) Creates an item access instance for a player's cursor in a menu.static ItemAccessItemAccess.forPlayerInteraction(Player player, InteractionHand hand) Creates an item access instance for interaction with a player's hand.static ItemAccessItemAccess.forPlayerSlot(Player player, int slot) Creates an item access instance for a specific slot of a player.static ItemAccessCreates an item access instance that will mutate a stack directly, possibly changing the components and the count, but never the underlying Item as it's final.default ItemAccessItemAccess.oneByOne()Creates a wrapper around this access that allows access to a single item at the time.Method parameters in net.neoforged.neoforge.transfer.access with type arguments of type ItemAccessModifier and TypeMethodDescriptiondefault <T> @Nullable TItemAccess.getCapability(ItemCapability<T, ItemAccess> capability) Retrieves a capability from this item location.Constructors in net.neoforged.neoforge.transfer.access with parameters of type ItemAccessModifierConstructorDescription(package private)OneByOneItemAccess(ItemAccess delegate) Creates an instance of aOneByOneItemAccessrecord class. -
Uses of ItemAccess in net.neoforged.neoforge.transfer.energy
Fields in net.neoforged.neoforge.transfer.energy declared as ItemAccessConstructors in net.neoforged.neoforge.transfer.energy with parameters of type ItemAccessModifierConstructorDescriptionItemAccessEnergyHandler(ItemAccess itemAccess, DataComponentType<Integer> energyComponent, int capacity) Creates a newItemAccessEnergyHandlerinstance with0stored energy, and no per-operation limit.ItemAccessEnergyHandler(ItemAccess itemAccess, DataComponentType<Integer> energyComponent, int capacity, int maxTransfer) Creates a newItemAccessEnergyHandlerinstance with0stored energy, and the same per-insert and per-extraction limit.ItemAccessEnergyHandler(ItemAccess itemAccess, DataComponentType<Integer> energyComponent, int capacity, int maxInsert, int maxExtract) Creates a newItemAccessEnergyHandlerinstance. -
Uses of ItemAccess in net.neoforged.neoforge.transfer.fluid
Constructors in net.neoforged.neoforge.transfer.fluid with parameters of type ItemAccessModifierConstructorDescriptionBucketResourceHandler(ItemAccess itemAccess) ItemAccessFluidHandler(ItemAccess itemAccess, DataComponentType<SimpleFluidContent> component, int capacity) -
Uses of ItemAccess in net.neoforged.neoforge.transfer.item
Fields in net.neoforged.neoforge.transfer.item declared as ItemAccessConstructors in net.neoforged.neoforge.transfer.item with parameters of type ItemAccessModifierConstructorDescriptionBundleItemHandler(ItemAccess itemAccess, DataComponentType<BundleContents> component) ItemAccessItemHandler(ItemAccess itemAccess, DataComponentType<ItemContainerContents> component, int size)