@Nonnull @ParametersAreNullableByDefault public interface Equippable extends EntityComponent
| Modifier and Type | Method and Description |
|---|---|
Optional<ItemInstance> |
getBoots()
Gets the boots the entity is wearing.
|
Optional<ItemInstance> |
getChestplate()
Gets the chestplate the entity is wearing.
|
Optional<ItemInstance> |
getHelmet()
Gets the helmet the entity is wearing.
|
Optional<ItemInstance> |
getLeggings()
Gets the leggings the entity is wearing.
|
void |
setBoots(ItemInstance boots)
Sets the boots the entity is wearing.
|
void |
setChestplate(ItemInstance chestplate)
Sets the chestplate the entity is wearing.
|
void |
setHelmet(ItemInstance helmet)
Sets the helmet the entity is wearing.
|
void |
setLeggings(ItemInstance leggings)
Sets the leggings the entity is wearing.
|
Optional<ItemInstance> getHelmet()
void setHelmet(ItemInstance helmet)
helmet - the helmet to wearOptional<ItemInstance> getChestplate()
void setChestplate(ItemInstance chestplate)
chestplate - the chestplate to wearOptional<ItemInstance> getLeggings()
void setLeggings(ItemInstance leggings)
leggings - the leggings to wearOptional<ItemInstance> getBoots()
void setBoots(ItemInstance boots)
boots - the boots to wearCopyright © 2017–2018 NukkitX. All rights reserved.