LeviLamina
Loading...
Searching...
No Matches
LootResolver Class Reference

Static Public Member Functions

static MCAPI ::std::optional<::std::vector<::ItemStack > > getItemsFromKilling (::Actor *killer, ::Actor *victim, ::ItemStack const &tool, ::CommandOutput *commandOutput)
 
static MCAPI ::std::optional<::std::vector<::ItemStack > > getItemsFromLooting (::std::string const &lootTableDir, ::ItemStack const &tool, ::Level &level, ::DimensionType dimensionId, ::CommandOutput *commandOutput)
 
static MCAPI ::std::optional<::std::vector<::ItemStack > > getItemsFromMining (::BlockSource const &region, ::BlockPos positionToMine, ::ItemStack const &tool)
 

Member Function Documentation

◆ getItemsFromKilling()

static MCAPI ::std::optional<::std::vector<::ItemStack > > LootResolver::getItemsFromKilling ( ::Actor * killer,
::Actor * victim,
::ItemStack const & tool,
::CommandOutput * commandOutput )
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.

◆ getItemsFromLooting()

static MCAPI ::std::optional<::std::vector<::ItemStack > > LootResolver::getItemsFromLooting ( ::std::string const & lootTableDir,
::ItemStack const & tool,
::Level & level,
::DimensionType dimensionId,
::CommandOutput * commandOutput )
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.

◆ getItemsFromMining()

static MCAPI ::std::optional<::std::vector<::ItemStack > > LootResolver::getItemsFromMining ( ::BlockSource const & region,
::BlockPos positionToMine,
::ItemStack const & tool )
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.

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