|
enum class | OnUseAction : int { None = -1
, ChorusTeleport = 0
, SuspiciousStewEffect = 1
} |
|
|
FoodItemComponentLegacy & | operator= (FoodItemComponentLegacy const &) |
|
| FoodItemComponentLegacy (FoodItemComponentLegacy const &) |
|
virtual int | getNutrition () const |
|
virtual float | getSaturationModifier () const |
|
virtual bool | canAlwaysEat () const |
|
virtual::Item const * | eatItem (::ItemStack &instance, ::Actor &actor, ::Level &level) |
|
virtual void | use (bool &result, ::ItemStack &item, ::Player &player) |
|
virtual::Item const * | useTimeDepleted (::ItemUseMethod &itemUseMethod, ::ItemStack const &, ::ItemStack &instance, ::Player &player, ::Level &level) |
|
MCAPI void | _applyEatEffects (::ItemStack const &, ::Actor &actor, ::Level &level) |
|
MCAPI void | _loadEffects (::Json::Value const &effectsData) |
|
MCAPI void | _loadRemoveEffects (::Json::Value const &removeEffectsData) |
|
MCAPI ::std::unique_ptr<::CompoundTag > | buildNetworkTag () const |
|
MCAPI bool | init (::Json::Value const &data, ::MolangVersion) |
|
MCAPI void | $dtor () |
|
MCFOLD int | $getNutrition () const |
|
MCFOLD float | $getSaturationModifier () const |
|
MCAPI bool | $canAlwaysEat () const |
|
MCAPI::Item const * | $eatItem (::ItemStack &instance, ::Actor &actor, ::Level &level) |
|
MCAPI void | $use (bool &result, ::ItemStack &item, ::Player &player) |
|
MCAPI::Item const * | $useTimeDepleted (::ItemUseMethod &itemUseMethod, ::ItemStack const &, ::ItemStack &instance, ::Player &player, ::Level &level) |
|
|
::ll::UntypedStorage< 8, 8 > | mUnkf8f8b2 |
|
::ll::UntypedStorage< 4, 4 > | mUnkb8975a |
|
::ll::UntypedStorage< 4, 4 > | mUnk7624e5 |
|
::ll::UntypedStorage< 8, 32 > | mUnkd89237 |
|
::ll::UntypedStorage< 4, 4 > | mUnk53b0c6 |
|
::ll::UntypedStorage< 4, 12 > | mUnk98d6f7 |
|
::ll::UntypedStorage< 8, 48 > | mUnke0d0f2 |
|
::ll::UntypedStorage< 4, 4 > | mUnk3e3015 |
|
::ll::UntypedStorage< 1, 1 > | mUnk623916 |
|
::ll::UntypedStorage< 8, 24 > | mUnk3def49 |
|
::ll::UntypedStorage< 8, 24 > | mUnkb2b538 |
|
◆ getNutrition()
virtual int FoodItemComponentLegacy::getNutrition |
( |
| ) |
const |
|
virtual |
◆ getSaturationModifier()
virtual float FoodItemComponentLegacy::getSaturationModifier |
( |
| ) |
const |
|
virtual |
◆ canAlwaysEat()
virtual bool FoodItemComponentLegacy::canAlwaysEat |
( |
| ) |
const |
|
virtual |
◆ eatItem()
◆ use()
virtual void FoodItemComponentLegacy::use |
( |
bool & | result, |
|
|
::ItemStack & | item, |
|
|
::Player & | player ) |
|
virtual |
◆ useTimeDepleted()
◆ $vftable()
static MCAPI void ** FoodItemComponentLegacy::$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.
◆ CAN_ALWAYS_EAT()
static MCAPI ::std::add_lvalue_reference_t< char const []> IFoodItemComponent::CAN_ALWAYS_EAT |
( |
| ) |
|
|
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.
◆ NUTRITION()
static MCAPI ::std::add_lvalue_reference_t< char const []> IFoodItemComponent::NUTRITION |
( |
| ) |
|
|
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.
◆ SATURATION_MODIFIER()
static MCAPI ::std::add_lvalue_reference_t< char const []> IFoodItemComponent::SATURATION_MODIFIER |
( |
| ) |
|
|
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.
The documentation for this class was generated from the following file: