LeviLamina
Loading...
Searching...
No Matches
ResourceDropsContext Struct Reference

Public Member Functions

MCAPI::BlockActor const * getBlockActor () const
MCAPI::ILevel & getLevel () const
MCAPI int getMiningLootBonusLevel () const
MCAPI::Random & getRandom () const
MCAPI bool isUsingSilkTouch () const

Static Public Member Functions

static MCAPI ::ResourceDropsContext fromExplosion (::IBlockSource const &region, float explosionRadius, ::BlockPos const &position)
static MCAPI ::ResourceDropsContext fromLootResolver (::IBlockSource const &region, ::BlockPos const &position, ::ItemStack const &usedItem)
static MCAPI ::ResourceDropsContext fromOtherCause (::IBlockSource const &region, ::BlockPos const &position)
static MCAPI ::ResourceDropsContext fromPlayerMining (::IBlockSource const &region, ::BlockPos const &position, ::ItemStack const &usedItem)
static MCAPI ::ResourceDropsContext fromProjectileHit (::IBlockSource const &region, ::BlockPos const &position)

Public Attributes

::ll::TypedStorage< 4, 4, ::ResourceDropsCause > mCause
::ll::TypedStorage< 4, 4, float > mExplosionRadius
::ll::TypedStorage< 8, 8, ::ItemStack const & > mUsedItem
::ll::TypedStorage< 4, 12, ::BlockPos const > mBlockPos
::ll::TypedStorage< 4, 4, ::DimensionType const > mDimensionType
::ll::TypedStorage< 8, 8, ::IBlockSource const & > mBlockSource

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