LeviLamina
Loading...
Searching...
No Matches
EnchantRandomlyFunction Class Reference
+ Inheritance diagram for EnchantRandomlyFunction:

Public Types

enum class  FunctionType : int {
  SetItemCount = 0 , SetItemData = 1 , SetItemDamage = 2 , LootingEnchant = 3 ,
  EnchantWithLevels = 4 , EnchantBookForTrading = 5 , EnchantRandomly = 6 , SmeltItem = 7 ,
  SetDataFromColorIndex = 8 , EnchantRandomEquipment = 9 , RandomAuxValue = 10 , RandomBlockState = 11 ,
  RandomDye = 12 , ExplorationMap = 13 , SetBannerDetails = 14 , ExplosionDecay = 15 ,
  SetItemName = 16 , SetItemLore = 17 , SpecificEnchant = 18 , FillContainer = 19 ,
  SetSpawnEgg = 20 , SetBookContents = 21 , SetStewEffect = 22 , SetOminousBottle = 23 ,
  SetArmorTrim = 24 , SetPotion = 25 , Count = 26
}
 

Public Member Functions

EnchantRandomlyFunctionoperator= (EnchantRandomlyFunction const &)
 
 EnchantRandomlyFunction (EnchantRandomlyFunction const &)
 
virtual void apply (::ItemStack &item, ::Random &random, ::LootTableContext &context)
 
virtual void apply (::ItemInstance &item, ::Random &random, ::LootTableContext &context)
 
virtual::LootItemFunction::FunctionType getFunctionType () const
 
MCAPI void $apply (::ItemStack &item, ::Random &random, ::LootTableContext &context)
 
MCAPI void $apply (::ItemInstance &item, ::Random &random, ::LootTableContext &context)
 
MCAPI::LootItemFunction::FunctionType $getFunctionType () const
 
virtual int apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
virtual int apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
MCAPI void $dtor ()
 
MCAPI int $apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
MCAPI int $apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI ::std::unique_ptr<::LootItemFunctiondeserialize (::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::UntypedStorage< 8, 24 > mUnkee08ad
 
::ll::UntypedStorage< 1, 1 > mUnke32d3b
 
::ll::UntypedStorage< 8, 24 > mUnkd6cdfe
 

Member Function Documentation

◆ apply() [1/2]

virtual void EnchantRandomlyFunction::apply ( ::ItemStack & item,
::Random & random,
::LootTableContext & context )
virtual

Implements LootItemFunction.

◆ apply() [2/2]

virtual void EnchantRandomlyFunction::apply ( ::ItemInstance & item,
::Random & random,
::LootTableContext & context )
virtual

Implements LootItemFunction.

◆ getFunctionType()

virtual::LootItemFunction::FunctionType EnchantRandomlyFunction::getFunctionType ( ) const
virtual

Implements LootItemFunction.

◆ $apply() [1/4]

MCAPI void EnchantRandomlyFunction::$apply ( ::ItemStack & item,
::Random & random,
::LootTableContext & context )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $apply() [2/4]

MCAPI void EnchantRandomlyFunction::$apply ( ::ItemInstance & item,
::Random & random,
::LootTableContext & context )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getFunctionType()

MCAPI::LootItemFunction::FunctionType EnchantRandomlyFunction::$getFunctionType ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** EnchantRandomlyFunction::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ deserialize()

static MCAPI ::std::unique_ptr<::LootItemFunction > LootItemFunction::deserialize ( ::Json::Value object,
bool usingUpcomingCreatorFeaturesExperiment )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mLootingFunctions()

static MCAPI ::std::unordered_map< ::HashedString, ::std::function<::std::unique_ptr< ::LootItemFunction >(::Json::Value &, ::std::vector<::std::unique_ptr<::LootItemCondition > > &)> > const & LootItemFunction::mLootingFunctions ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void LootItemFunction::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $apply() [3/4]

MCAPI int LootItemFunction::$apply ( ::ItemStack & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $apply() [4/4]

MCAPI int LootItemFunction::$apply ( ::ItemInstance & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: