Class EntityArmorInvWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
net.neoforged.neoforge.items.wrapper.EntityArmorInvWrapper
- All Implemented Interfaces:
IItemHandler,IItemHandlerModifiable
@Deprecated(since="1.21.9",
forRemoval=true)
public class EntityArmorInvWrapper
extends EntityEquipmentInvWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
Exposes the armor 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
ConstructorsConstructorDescriptionEntityArmorInvWrapper(LivingEntity entity) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
extractItem, getSlotLimit, getSlots, getStackInSlot, getStackLimit, insertItem, isItemValid, setStackInSlot, validateSlotIndex
-
Constructor Details
-
EntityArmorInvWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
LivingEntityEquipmentWrapperinstead, with theEquipmentSlot.Type.HUMANOID_ARMORequipment type.