Package net.minecraftforge.items.wrapper
Class EntityArmorInvWrapper
- java.lang.Object
-
- net.minecraftforge.items.wrapper.EntityEquipmentInvWrapper
-
- net.minecraftforge.items.wrapper.EntityArmorInvWrapper
-
- All Implemented Interfaces:
IItemHandler
,IItemHandlerModifiable
public class EntityArmorInvWrapper extends EntityEquipmentInvWrapper
Exposes the armor 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 EntityArmorInvWrapper(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
-
EntityArmorInvWrapper
public EntityArmorInvWrapper(LivingEntity entity)
-
-