22 ::ll::TypedStorage<4, 4, int> mMaxDamage;
23 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange> mDamageChance;
28 DurabilityItemComponent();
33 MCAPI
explicit DurabilityItemComponent(
int maxDamage);
35 MCAPI ::IntRange getDamageChanceRange()
const;
37 MCFOLD
int getMaxDamage()
const;
39 MCFOLD
void setMaxDamage(
int maxDamage);
45 MCAPI
static void bindType(
47 ::std::vector<::AllExperiments>
const& requiredToggles,
48 ::std::optional<::SemVersion> releasedMinFormatVersion
51 MCAPI static ::HashedString
const& getIdentifier();
57 MCAPI
void* $ctor(
int maxDamage);