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

Public Types

enum class  EntryType : int { LootItem = 0 , EmptyLootItem = 1 , LootTableEntry = 2 , LootTableReference = 3 }

Public Member Functions

virtual bool _createItem (::std::vector<::ItemStack > &output, ::Random &random, ::LootTableContext &context) const
virtual::LootPoolEntry::EntryType getEntryType () const
MCAPI bool $_createItem (::std::vector<::ItemStack > &output, ::Random &random, ::LootTableContext &context) const
MCFOLD::LootPoolEntry::EntryType $getEntryType () const
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::LootPoolEntrydeserialize (::Json::Value entry, int weight, int quality, ::std::vector<::std::unique_ptr<::LootItemCondition > > &conditions)
static MCAPI void ** $vftable ()
static MCAPI ::std::unique_ptr<::LootPoolEntrydeserialize (::Json::Value const &entryJson, bool usingUpcomingCreatorFeaturesExperiment)

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mDir
::ll::TypedStorage< 4, 4, int > mWeight
::ll::TypedStorage< 4, 4, int > mQuality
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::LootItemCondition > > > mConditions
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LootPoolEntry > > mSubTable

Member Function Documentation

◆ _createItem()

virtual bool LootTableReference::_createItem ( ::std::vector<::ItemStack > & output,
::Random & random,
::LootTableContext & context ) const
virtual

Implements LootPoolEntry.

◆ getEntryType()

virtual::LootPoolEntry::EntryType LootTableReference::getEntryType ( ) const
virtual

Implements LootPoolEntry.

◆ $vftable()

MCAPI void ** LootTableReference::$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.

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