Package net.neoforged.neoforge.transfer.item
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.transfer.item
-
ClassDescription
ResourceHandler<ItemResource>implementation for the carried slot of anAbstractContainerMenu.ResourceHandler<ItemResource>implementation for the composter block.To make sure multiple accesses to the same composter return the same wrapper, we maintain a(Level, BlockPos) -> Wrappercache.Base implementation of an itemResourceHandlerbacked by anItemAccess.Immutable combination of anItemand data components.A single-index item resource handler, backed by anItemStack.Base implementation of aResourceHandler<ItemResource>backed by a list ofItemStacks.Helper functions to work withResourceHandlers ofItemResources.Exposes the armor or hands inventory of anLivingEntityas aResourceHandler<ItemResource>usingLivingEntity.getItemBySlot(EquipmentSlot)andLivingEntity.setItemSlot(EquipmentSlot, ItemStack).Base implementation for aSlotbacked by aResourceHandler<ItemResource>.A deterministic random source whose internal state is transactional, ensuring determinism across transactions until one is committed.An implementation ofResourceHandler<ItemResource>for vanilla'sContainer.An implementation ofResourceHandler<ItemResource>for vanilla'sWorldlyContainer.