|
enum class | PotionType : int { Undefined = -1
, Regular = 0
, Splash = 1
, Lingering = 2
} |
|
enum class | PotionVariant : int {
Moveslow = 0
, Movespeed = 1
, Digslow = 2
, Digspeed = 3
,
Damageboost = 4
, Heal = 5
, Harm = 6
, Jump = 7
,
Confusion = 8
, Regen = 9
, Resistance = 10
, Fireresistance = 11
,
Waterbreath = 12
, Invisibility = 13
, Blindness = 14
, Nightvision = 15
,
Hunger = 16
, Weakness = 17
, Poison = 18
, Wither = 19
,
Healthboost = 20
, Absorption = 21
, Saturation = 22
, Levitation = 23
,
Turtlemaster = 24
, Slowfall = 25
, Windcharged = 26
, Weaving = 27
,
Oozing = 28
, Infested = 29
, Base = 30
} |
|
|
MCAPI | Potion (::std::string_view nameId) |
|
MCAPI | Potion (::std::string_view nameId, ::std::string_view descriptionID, ::MobEffectInstance const &mobEffect, ::Potion::PotionVariant var) |
|
MCAPI | Potion (::std::string_view nameId, ::std::vector<::std::string > descriptionIDs, ::std::vector<::MobEffectInstance > mobEffects, ::Potion::PotionVariant var) |
|
MCAPI::std::string | _getDescriptionIdCombiningStrings (::Potion::PotionType potiontype) const |
|
MCAPI::std::string | _getDescriptionIdSingleString (::Potion::PotionType potionType) const |
|
MCAPI void | appendFormattedPotionText (::Bedrock::Safety::RedactableString &inOutHovertext, ::Potion::PotionType potionType, ::Potion::PotionVariant potionVariant, ::Player const &player, float timeMod) const |
|
MCAPI::std::string | getDescriptionId (::Potion::PotionType potionType) const |
|
MCAPI::std::string | getPotencyDescription (::Potion::PotionType potionType, float timeMod) const |
|
MCAPI void * | $ctor (::std::string_view nameId) |
|
MCAPI void * | $ctor (::std::string_view nameId, ::std::string_view descriptionID, ::MobEffectInstance const &mobEffect, ::Potion::PotionVariant var) |
|
MCAPI void * | $ctor (::std::string_view nameId, ::std::vector<::std::string > descriptionIDs, ::std::vector<::MobEffectInstance > mobEffects, ::Potion::PotionVariant var) |
|
MCAPI void | $dtor () |
|
|
static MCAPI void | addPotion (::std::shared_ptr<::Potion const > potion) |
|
static MCAPI void | appendMobEffectText (::Bedrock::Safety::RedactableString &inOutHovertext, ::Potion::PotionVariant potionVariant, uint mobEffectId, int amplifier, ::Player const &player) |
|
static MCAPI ::std::string | effectDurationToString (::Potion::PotionType potionType, float timeMod, ::MobEffectInstance const &effect) |
|
static MCAPI ::std::string | effectPotencyToString (::MobEffectInstance const &effect) |
|
static MCAPI ::std::string | getBasePotion (::Potion::PotionType type) |
|
static MCAPI ::std::string | getPotencyDescription (::Potion::PotionType potionType, float timeMod, ::std::string_view descID, ::MobEffectInstance const &effect) |
|
static MCAPI ::std::shared_ptr<::Potion const > | getPotion (::std::string_view potionNameId) |
|
static MCAPI void | initPotions (::BaseGameVersion const &baseGameVersion, ::Experiments const &experiments) |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Awkward () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | FireResistance () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Harming () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Healing () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Infested () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Invisibility () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Leaping () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongFireResistance () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongInvisibility () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongLeaping () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongMundane () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongNightvision () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongPoison () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongRegeneration () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongSlowFalling () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongSlowness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongStrength () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongSwiftness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongTurtleMaster () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongWaterBreathing () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | LongWeakness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Mundane () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Nightvision () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Oozing () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Poison () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Regeneration () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | SlowFalling () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Slowness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Strength () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongHarming () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongHealing () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongLeaping () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongPoison () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongRegeneration () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongSlowness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongStrength () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongSwiftness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | StrongTurtleMaster () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Swiftness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Thick () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | TurtleMaster () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Water () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | WaterBreathing () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Weakness () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Weaving () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | WindCharged () |
|
static MCAPI ::std::shared_ptr<::Potion const > const & | Wither () |
|
static MCAPI int & | mLastId () |
|
static MCAPI ::std::add_lvalue_reference_t<::std::shared_ptr<::Potion const >[]> | mPotionsById () |
|
static MCAPI ::std::unordered_map<::std::string, int > & | mPotionsByName () |
|