22 ::ll::TypedStorage<4, 4, int> mId;
23 ::ll::TypedStorage<8, 32, ::std::string> mNameId;
24 ::ll::TypedStorage<8, 32, ::std::string> mPrefix;
25 ::ll::TypedStorage<8, 24, ::std::vector<::MobEffectInstance>> mEffects;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mDescriptionIds;
27 ::ll::TypedStorage<4, 4, ::PotionVariant> mVar;
37 MCAPI Potion(::std::string_view
const nameId, ::std::string_view
const prefix);
40 ::std::string_view
const nameId,
41 ::std::string_view
const descriptionID,
47 ::std::string_view
const nameId,
48 ::std::vector<::std::string> descriptionIDs,
49 ::std::vector<::MobEffectInstance> mobEffects,
53 MCAPI
void appendFormattedPotionText(
55 ::PotionType potionType,
56 ::PotionVariant potionVariant,
61 MCAPI ::std::string getDescriptionId()
const;
63 MCAPI ::std::string getDescriptionId(::PotionType potionType)
const;
65 MCFOLD ::std::string getNameId()
const;
67 MCAPI ::std::string getPotencyDescription(::PotionType potionType,
float timeMod)
const;
69 MCFOLD ::std::string getPrefix()
const;
75 MCAPI
static void addPotion(::std::shared_ptr<::Potion const>
const potion);
77 MCAPI
static void appendMobEffectText(
79 ::PotionVariant potionVariant,
85 MCAPI static ::std::string
86 effectDurationToString(::PotionType potionType,
float timeMod,
::MobEffectInstance const& effect);
90 MCAPI static ::std::string getBasePotion(::PotionType type);
92 MCAPI static ::std::string getPotencyDescription(
93 ::PotionType potionType,
95 ::std::string_view
const descID,
99 MCAPI static ::std::shared_ptr<::Potion const> getPotion(::std::string_view potionNameId);
107 MCAPI static ::std::shared_ptr<::Potion const>
const& Awkward();
109 MCAPI static ::std::shared_ptr<::Potion const>
const& FireResistance();
111 MCAPI static ::std::shared_ptr<::Potion const>
const& Healing();
113 MCAPI static ::std::shared_ptr<::Potion const>
const& Poison();
115 MCAPI static ::std::shared_ptr<::Potion const>
const& Slowness();
117 MCAPI static ::std::shared_ptr<::Potion const>
const& Swiftness();
119 MCAPI static ::std::shared_ptr<::Potion const>
const& Water();
121 MCAPI static ::std::shared_ptr<::Potion const>
const& WaterBreathing();
123 MCAPI static ::std::shared_ptr<::Potion const>
const& Weakness();
125 MCAPI
static int& mLastId();
127 MCAPI static ::std::array<::std::shared_ptr<::Potion const>, 64>& mPotionsById();
129 MCAPI static ::std::unordered_map<::std::string, int>& mPotionsByName();
135 MCAPI
void* $ctor(::std::string_view
const nameId, ::std::string_view
const prefix);
138 ::std::string_view
const nameId,
139 ::std::string_view
const descriptionID,
145 ::std::string_view
const nameId,
146 ::std::vector<::std::string> descriptionIDs,
147 ::std::vector<::MobEffectInstance> mobEffects,