|
LeviLamina
|
Classes | |
| struct | EnchantmentOption |
Public Member Functions | |
| virtual void | apply (::ItemStack &item, ::Random &random, ::LootTableContext &) |
| virtual int | apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context) |
| virtual void | apply (::ItemInstance &item, ::Random &random, ::LootTableContext &) |
| virtual int | apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context) |
| virtual::LootItemFunction::FunctionType | getFunctionType () const |
| MCAPI::EnchantmentInstance | _getRandomEnchantInstance (::Random &random) const |
| MCAPI ::std::optional<::EnchantmentInstance > | _trySelectEnchantmentFromOptions (::Random &random) const |
| MCFOLD void | $apply (::ItemStack &item, ::Random &random, ::LootTableContext &) |
| MCFOLD int | $apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context) |
| MCFOLD void | $apply (::ItemInstance &item, ::Random &random, ::LootTableContext &) |
| MCFOLD int | $apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context) |
| MCFOLD::LootItemFunction::FunctionType | $getFunctionType () const |
| MCAPI void | $dtor () |
Static Public Member Functions | |
| static MCAPI ::std::optional<::EnchantBookForTradingFunction::EnchantmentOption > | _parseEnchantmentOption (::Json::Value const &enchantOptionData) |
| static MCAPI ::std::unique_ptr<::EnchantBookForTradingFunction > | deserialize (::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates) |
| static MCAPI void ** | $vftable () |
| static MCAPI ::std::unique_ptr<::LootItemFunction > | deserialize (::Json::Value object, bool usingUpcomingCreatorFeaturesExperiment) |
| static MCAPI ::std::unordered_map< ::HashedString, ::std::function<::std::unique_ptr< ::LootItemFunction >(::Json::Value &, ::std::vector<::std::unique_ptr<::LootItemCondition > > &)> > const & | mLootingFunctions () |
Public Attributes | |
| ::ll::TypedStorage< 4, 4, int > | mBaseCost |
| ::ll::TypedStorage< 4, 4, int > | mRandomBaseCost |
| ::ll::TypedStorage< 4, 4, int > | mRandomPerLevelCost |
| ::ll::TypedStorage< 4, 4, int > | mPerLevelCost |
| ::ll::TypedStorage< 8, 24, ::std::vector<::EnchantBookForTradingFunction::EnchantmentOption > > | mEnchantmentOptions |
| ::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::LootItemCondition > > > | mPredicates |
|
virtual |
Implements LootItemFunction.
|
virtual |
Reimplemented from LootItemFunction.
|
virtual |
Implements LootItemFunction.
|
virtual |
Reimplemented from LootItemFunction.
|
virtual |
Implements LootItemFunction.
|
static |