Package net.neoforged.neoforge.items.wrapper
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.items.wrapper
-
ClassDescriptionExposes the armor inventory of an
LivingEntity
as anIItemHandler
usingLivingEntity.getItemBySlot(EquipmentSlot)
andLivingEntity.setItemSlot(EquipmentSlot, ItemStack)
.Exposes the armor or hands inventory of anLivingEntity
as anIItemHandler
usingLivingEntity.getItemBySlot(EquipmentSlot)
andLivingEntity.setItemSlot(EquipmentSlot, ItemStack)
.Exposes the hands inventory of anLivingEntity
as anIItemHandler
usingLivingEntity.getItemBySlot(EquipmentSlot)
andLivingEntity.setItemSlot(EquipmentSlot, ItemStack)
.AnIItemHandler
that delegates each method to anotherIItemHandler
.Exposes the player inventory WITHOUT the armor inventory as IItemHandler.A wrapper that composes another IItemHandlerModifiable, exposing only a range of the composed slots.