LeviLamina
Loading...
Searching...
No Matches
Util::LootTableUtils Class Reference

Static Public Member Functions

static MCAPI ::std::string convertFromJavaLootTableName (::std::string const &lootTableName)
static MCAPI int dropItems (::BlockSource &region, ::Spawner &spawner, ::Actor *summoner, ::std::vector<::ItemStack > const &items, ::BlockPos const &position)
static MCAPI int fillContainer (::Container &container, ::std::vector<::ItemStack > &items)
static MCAPI void fillContainer (::Level &level, ::Container &container, ::Random &random, ::std::string const &tableName, ::DimensionType dimensionId, ::Actor *entity)
static MCAPI ::std::vector<::ItemStackgenerateRandomDeathLoot (::LootTable const &table, ::Actor &lootSourceEntity, ::ActorDamageSource const *damageSource, ::ItemStack const *tool, ::Player *killer, float luck)
static MCAPI ::std::vector<::ItemStackgetRandomItems (::LootTable const &table, ::Random &random, ::LootTableContext &context)
static MCAPI ::std::vector<::ItemStackgetRandomItems (::std::string const &tableName, ::Random &random, ::LootTableContext &context)
static MCAPI int givePlayer (::Player &player, ::std::vector<::ItemStack > &items, bool shouldAddWhenFull)
static MCAPI ::LootTablelookupLootTable (::std::string const &tableName, ::ILevel &level)

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