Interface ArmorEquipable
- All Superinterfaces:
- Equipable
- All Known Subinterfaces:
- Agent,- Allay,- Ambient,- Animal,- Aquatic,- Armadillo,- ArmorStand,- Axolotl,- Bat,- Bee,- Blaze,- Bogged,- Breeze,- Camel,- Cat,- CaveSpider,- Chicken,- ClientPlayer,- Cod,- Cow,- Creeper,- Dolphin,- Donkey,- Drowned,- ElderGuardian,- EnderDragon,- Enderman,- Endermite,- Evoker,- Fish,- Fox,- Frog,- Ghast,- Giant,- GlowSquid,- Goat,- Golem,- Guardian,- Hoglin,- Horse,- HorseLike,- Human,- Humanoid,- Husk,- Illager,- Illusioner,- IronGolem,- Llama,- LocalPlayer,- MagmaCube,- Monster,- Mooshroom,- Mule,- Ocelot,- PackHorse,- Panda,- Parrot,- PathfinderAgent,- Patroller,- Phantom,- Pig,- Piglin,- PiglinBrute,- PiglinLike,- Pillager,- Player,- PolarBear,- Pufferfish,- Rabbit,- Raider,- RangedAgent,- Ravager,- RemotePlayer,- Salmon,- SchoolingFish,- ServerPlayer,- Sheep,- Shulker,- Silverfish,- Skeleton,- SkeletonHorse,- SkeletonLike,- Slime,- Sniffer,- SnowGolem,- Spellcaster,- Spider,- Squid,- Stray,- Strider,- Tadpole,- TameableAnimal,- TraderLlama,- TropicalFish,- Turtle,- User,- Vex,- Villager,- VillagerLike,- Vindicator,- WanderingTrader,- Warden,- Witch,- Wither,- WitherSkeleton,- Wolf,- Zoglin,- Zombie,- ZombieHorse,- ZombieVillager,- ZombifiedPiglin
Represents something that can be equipped with armor, main hand and off hand items.
 Each method here is a shorthand for the appropriate Equipable.equipped(org.spongepowered.api.item.inventory.equipment.EquipmentType)
 or Equipable.equip(org.spongepowered.api.item.inventory.equipment.EquipmentType, org.spongepowered.api.item.inventory.ItemStackLike) method call.
Classes implementing this interface should provide all of the
 supplied equipment slot types. Classes which do not support all slot types in
 this interface should instead implement Equipable.
- 
Method SummaryModifier and TypeMethodDescriptionchest()Gets the chest.feet()Gets the feet.head()Gets the head.default ItemStackitemInHand(Supplier<? extends HandType> handType) Gets the equipped item in hand.itemInHand(HandType handType) Gets the equipped item in hand.legs()Gets the legs.voidsetChest(ItemStackLike chest) Sets the chest.voidsetFeet(ItemStackLike feet) Sets the feet.voidsetHead(ItemStackLike head) Sets the head.default voidsetItemInHand(Supplier<? extends HandType> handType, ItemStackLike itemInHand) Sets the equipped item in hand.voidsetItemInHand(HandType handType, ItemStackLike itemInHand) Sets the equipped item in hand.voidsetLegs(ItemStackLike legs) Sets the legs.
- 
Method Details- 
headItemStack head()Gets the head.- Returns:
- The head, if available
 
- 
setHeadSets the head.- Parameters:
- head- The head
 
- 
chestItemStack chest()Gets the chest.- Returns:
- The chest, if available
 
- 
setChestSets the chest.- Parameters:
- chest- The chest
 
- 
legsItemStack legs()Gets the legs.- Returns:
- The legs, if available
 
- 
setLegsSets the legs.- Parameters:
- legs- The legs
 
- 
feetItemStack feet()Gets the feet.- Returns:
- The feet, if available
 
- 
setFeetSets the feet.- Parameters:
- feet- The feet
 
- 
itemInHandGets the equipped item in hand.- Parameters:
- handType- The hand type to retrieve from
- Returns:
- The item in hand, if available
 
- 
itemInHandGets the equipped item in hand.- Parameters:
- handType- The hand type to retrieve from
- Returns:
- The item in hand, if available
 
- 
setItemInHandSets the equipped item in hand.- Parameters:
- handType- The hand type to set to
- itemInHand- The item in hand
 
- 
setItemInHandSets the equipped item in hand.- Parameters:
- handType- The hand type to set to
- itemInHand- The item in hand
 
 
-