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 an EntityLivingBase as an IItemHandler using EntityLivingBase#getItemStackFromSlot and EntityLivingBase#setItemStackToSlot.
  • Constructor Details

    • EntityHandsInvWrapper

      public EntityHandsInvWrapper(LivingEntity entity)