Package net.minecraftforge.items.wrapper
Class EntityHandsInvWrapper
- java.lang.Object
-
- net.minecraftforge.items.wrapper.EntityEquipmentInvWrapper
-
- net.minecraftforge.items.wrapper.EntityHandsInvWrapper
-
- All Implemented Interfaces:
IItemHandler
,IItemHandlerModifiable
public class EntityHandsInvWrapper extends EntityEquipmentInvWrapper
Exposes the hands inventory of anEntityLivingBase
as anIItemHandler
usingEntityLivingBase#getItemStackFromSlot
andEntityLivingBase#setItemStackToSlot
.
-
-
Field Summary
-
Fields inherited from class net.minecraftforge.items.wrapper.EntityEquipmentInvWrapper
entity, slots
-
-
Constructor Summary
Constructors Constructor Description EntityHandsInvWrapper(LivingEntity entity)
-
Method Summary
-
Methods inherited from class net.minecraftforge.items.wrapper.EntityEquipmentInvWrapper
create, extractItem, getSlotLimit, getSlots, getStackInSlot, getStackLimit, insertItem, isItemValid, setStackInSlot, validateSlotIndex
-
-
-
-
Constructor Detail
-
EntityHandsInvWrapper
public EntityHandsInvWrapper(LivingEntity entity)
-
-