Class EntityHandsInvWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
net.neoforged.neoforge.items.wrapper.EntityHandsInvWrapper
- All Implemented Interfaces:
IItemHandler
,IItemHandlerModifiable
Exposes the hands inventory of an
LivingEntity
as an IItemHandler
using LivingEntity.getItemBySlot(EquipmentSlot)
and
LivingEntity.setItemSlot(EquipmentSlot, ItemStack)
.-
Field Summary
Fields inherited from class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
entity, slots
-
Constructor Summary
-
Method Summary
Methods inherited from class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
extractItem, getSlotLimit, getSlots, getStackInSlot, getStackLimit, insertItem, isItemValid, setStackInSlot, validateSlotIndex
-
Constructor Details
-
EntityHandsInvWrapper
-