|
static MCAPI void | _convertBookCheck (::ItemStackBase &out) |
|
static MCAPI void | appendEnchantToFormattedText (::Enchant::Type type, ::std::string_view enchantName, ::Bedrock::Safety::RedactableString &formattedEnchantmentText) |
|
static MCAPI bool | applyEnchant (::ItemStackBase &out, ::Enchant::Type type, int level, bool allowNonVanilla) |
|
static MCAPI int | applyEnchant (::ItemStackBase &out, ::ItemEnchants const &enchants, bool allowNonVanilla) |
|
static MCAPI float | calculateAfterBreachArmorFraction (::ActorUniqueID const &attackerID, ::Mob const &target, float armorFraction) |
|
static MCAPI int | combineEnchantedItems (::ItemStack const &first, ::ItemStack const &second, ::ItemStack &out, bool bookEnchant) |
|
static MCAPI void | doPostDamageEffects (::Actor &victim, ::Actor &attacker) |
|
static MCAPI void | doPostHurtEffects (::Mob &victim, ::Mob &attacker) |
|
static MCAPI void | doPostItemHurtActorEffects (::Actor &victim, ::Actor &attacker, ::ItemEnchants const &preHurtEnchantments) |
|
static MCAPI ::ItemInstance | generateEnchantedBook (::EnchantmentInstance const &enchant) |
|
static MCAPI ::std::vector<::std::pair<::EnchantmentInstance, int > > | getAvailableEnchantmentResults (::Item const *item, int value, bool treasure) |
|
static MCAPI ::std::vector<::Vec3 > | getBookCasePositions (::BlockSource &source, ::Vec3 const &pos) |
|
static MCAPI void | getCurses (::ItemStackBase const &item, ::std::vector<::EnchantmentInstance > &outputCurses) |
|
static MCAPI float | getDamageReduction (::ActorDamageSource const &source, ::Mob const &target) |
|
static MCAPI ::std::vector< int > | getEnchantCosts (::ItemStackBase const &itemInst, int bookcaseCount) |
|
static MCAPI int | getEnchantLevel (::Enchant::Type enchantType, ::ItemStackBase const &stack) |
|
static MCAPI ::std::string | getEnchantNameAndLevel (::Enchant::Type id, int level) |
|
static MCAPI ::std::vector<::Vec3 > | getEnchantingTablePositions (::BlockSource &source, ::Vec3 const &pos) |
|
static MCAPI ::std::string | getLevelString (int level) |
|
static MCAPI float | getMeleeDamageBonus (::Actor const &victim, ::Actor &attacker) |
|
static MCAPI ::ItemStack const & | getRandomDamagedItemWithMending (::Mob const &equipped) |
|
static MCAPI ::ItemStack const & | getRandomItemWith (::Enchant::Type type, ::Mob const &equipped, ::EquipmentFilter filter) |
|
static MCAPI ::std::string | getRandomName () |
|
static MCAPI bool | hasEnchant (::Enchant::Type enchantType, ::ItemStackBase const &item) |
|
static MCAPI ::ItemEnchants | selectEnchantments (::Item const *item, int enchantCost, int valueBuff, bool treasure) |
|
static MCAPI int const & | MAX_EXP_REPAIR_COST () |
|
static MCAPI int const & | PROTECTIONFACTOR_SECONDARYCAP () |
|
static MCAPI ::std::vector<::std::string > & | mEnchantmentNames () |
|