39 enum class Tier :
int {
55 ::ll::TypedStorage<4, 4, int> mDurabilityMultiplier;
56 ::ll::TypedStorage<4, 16, int[4]> mSlotProtections;
57 ::ll::TypedStorage<4, 4, int> mToughnessValue;
58 ::ll::TypedStorage<4, 4, int> mEnchantmentValue;
59 ::ll::TypedStorage<4, 4, float> mKnockbackResistance;
66 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::ArmorSlot const> mSlot;
67 ::ll::TypedStorage<4, 4, int const> mDefense;
68 ::ll::TypedStorage<4, 4, int const> mModelIndex;
69 ::ll::TypedStorage<8, 8, ::HumanoidArmorItem::ArmorMaterial const&> mArmorType;
70 ::ll::TypedStorage<1, 1, bool> mCurrentVersionAllowsTrim;
83 virtual bool isHumanoidArmor() const ;
86 virtual
bool isValidRepairItem(
93 virtual
int getEnchantSlot() const ;
96 virtual
int getEnchantValue() const ;
99 virtual
int getArmorValue() const ;
102 virtual
int getToughnessValue() const ;
105 virtual
float getArmorKnockbackResistance() const;
108 virtual
bool hasCustomColor(::
CompoundTag const* userData) const ;
117 virtual
void setColor(::
ItemStackBase& item, ::mce::Color const& color) const ;
120 virtual
bool isDyeable() const ;
123 virtual
bool isTrimAllowed() const ;
126 virtual ::SharedTypes::Legacy::ActorLocation getEquipLocation() const ;
129 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound() const ;
132 virtual
int getDamageChance(
int unbreaking) const ;
139 virtual
void appendFormattedHovertext(
142 ::Bedrock::Safety::RedactableString& hovertext,
143 bool const showCategory
147 virtual
void hurtActor(::
ItemStack& item, ::
Actor& actor, ::
Mob& attacker) const ;
151 getIconInfo(::
ItemStackBase const& item,
int newAnimationFrame,
bool inInventoryPane) const ;
157 virtual
int buildIdAux(
short auxValue, ::
CompoundTag const* userData) const ;
166 MCAPI ::
std::
string _buildAttributeText() const;
178 MCAPI static ::mce::Color& DEFAULT_LEATHER_COLOR();
198 MCFOLD
bool $isHumanoidArmor() const;
200 MCAPI
bool $isValidRepairItem(
206 MCAPI
int $getEnchantSlot() const;
208 MCAPI
int $getEnchantValue() const;
210 MCFOLD
int $getArmorValue() const;
212 MCAPI
int $getToughnessValue() const;
214 MCAPI
float $getArmorKnockbackResistance() const;
216 MCAPI
bool $hasCustomColor(::
CompoundTag const* userData) const;
222 MCFOLD
void $setColor(::
ItemStackBase& item, ::mce::Color const& color) const;
224 MCAPI
bool $isDyeable() const;
226 MCAPI
bool $isTrimAllowed() const;
228 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound() const;
230 MCAPI
int $getDamageChance(
int unbreaking) const;
234 MCAPI
void $appendFormattedHovertext(
237 ::Bedrock::Safety::RedactableString& hovertext,
238 bool const showCategory
241 MCFOLD
void $hurtActor(::
ItemStack& item, ::
Actor& actor, ::
Mob& attacker) const;
244 $getIconInfo(::
ItemStackBase const& item,
int newAnimationFrame,
bool inInventoryPane) const;
248 MCAPI
int $buildIdAux(
short auxValue, ::
CompoundTag const* userData) const;