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