// This Header is auto generated by BDSLiteLoader Toolchain #pragma once #define AUTO_GENERATED #include "llapi/Global.h" #define BEFORE_EXTRA #undef BEFORE_EXTRA class Potion { #define AFTER_EXTRA public: enum PotionType{ Undefined_9 = 0xFFFFFFFF, Regular = 0x0, Splash_0 = 0x1, Lingering = 0x2, }; enum PotionVariant{ MOVESLOW = 0x0, MOVESPEED = 0x1, DIGSLOW = 0x2, DIGSPEED = 0x3, DAMAGEBOOST = 0x4, HEAL = 0x5, HARM = 0x6, JUMP_0 = 0x7, CONFUSION = 0x8, REGEN = 0x9, RESISTANCE = 0xA, FIRERESISTANCE = 0xB, WATERBREATH = 0xC, INVISIBILITY = 0xD, BLINDNESS = 0xE, NIGHTVISION = 0xF, HUNGER = 0x10, WEAKNESS = 0x11, POISON = 0x12, WITHER = 0x13, HEALTHBOOST = 0x14, ABSORPTION = 0x15, SATURATION = 0x16, LEVITATION = 0x17, TURTLEMASTER = 0x18, SLOWFALL = 0x19, BASE = 0x1A, }; #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTION public: class Potion& operator=(class Potion const &) = delete; Potion(class Potion const &) = delete; Potion() = delete; #endif public: #ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTION #endif MCAPI void appendFormattedPotionText(std::string &, enum Potion::PotionType, float) const; MCAPI std::string effectDurationToString(enum Potion::PotionType, float, class MobEffectInstance const &) const; MCAPI std::string effectPotencyToString(class MobEffectInstance const &) const; MCAPI std::string getDescriptionId(enum Potion::PotionType) const; MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float) const; MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float, std::string const &, class MobEffectInstance const &) const; MCAPI int getPotionId() const; MCAPI ~Potion(); MCAPI static class std::shared_ptr const Awkward; MCAPI static class std::shared_ptr const FireResistance; MCAPI static class std::shared_ptr const Harming; MCAPI static class std::shared_ptr const Healing; MCAPI static class std::shared_ptr const Invisibility; MCAPI static class std::shared_ptr const Leaping; MCAPI static class std::shared_ptr const LongFireResistance; MCAPI static class std::shared_ptr const LongInvisibility; MCAPI static class std::shared_ptr const LongLeaping; MCAPI static class std::shared_ptr const LongMundane; MCAPI static class std::shared_ptr const LongNightvision; MCAPI static class std::shared_ptr const LongPoison; MCAPI static class std::shared_ptr const LongRegeneration; MCAPI static class std::shared_ptr const LongSlowFalling; MCAPI static class std::shared_ptr const LongSlowness; MCAPI static class std::shared_ptr const LongStrength; MCAPI static class std::shared_ptr const LongSwiftness; MCAPI static class std::shared_ptr const LongTurtleMaster; MCAPI static class std::shared_ptr const LongWaterBreathing; MCAPI static class std::shared_ptr const LongWeakness; MCAPI static class std::shared_ptr const Mundane; MCAPI static class std::shared_ptr const Nightvision; MCAPI static class std::shared_ptr const Poison; MCAPI static class std::shared_ptr const Regeneration; MCAPI static class std::shared_ptr const SlowFalling; MCAPI static class std::shared_ptr const Slowness; MCAPI static class std::shared_ptr const Strength; MCAPI static class std::shared_ptr const StrongHarming; MCAPI static class std::shared_ptr const StrongHealing; MCAPI static class std::shared_ptr const StrongLeaping; MCAPI static class std::shared_ptr const StrongPoison; MCAPI static class std::shared_ptr const StrongRegeneration; MCAPI static class std::shared_ptr const StrongSlowness; MCAPI static class std::shared_ptr const StrongStrength; MCAPI static class std::shared_ptr const StrongSwiftness; MCAPI static class std::shared_ptr const StrongTurtleMaster; MCAPI static class std::shared_ptr const Swiftness; MCAPI static class std::shared_ptr const Thick; MCAPI static class std::shared_ptr const TurtleMaster; MCAPI static class std::shared_ptr const Water; MCAPI static class std::shared_ptr const WaterBreathing; MCAPI static class std::shared_ptr const Weakness; MCAPI static class std::shared_ptr const Wither; MCAPI static class std::shared_ptr getPotion(int); MCAPI static class std::shared_ptr getPotion(std::string const &); MCAPI static void initPotions(); //private: MCAPI Potion(std::string const &, std::vector, std::vector, enum Potion::PotionVariant); MCAPI static void addPotion(class std::shared_ptr); private: MCAPI static int mLastId; MCAPI static class std::shared_ptr mPotionsById[]; MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mPotionsByName; };