|
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) |
|
|
static MCAPI ::Json::Value | initializeFromNetwork (::CompoundTag const &tag) |
|
static MCAPI void ** | $vftable () |
|
static MCAPI ::std::add_lvalue_reference_t< char const[]> | CAN_ALWAYS_EAT () |
|
static MCAPI ::std::add_lvalue_reference_t< char const[]> | NUTRITION () |
|
static MCAPI ::std::add_lvalue_reference_t< char const[]> | SATURATION_MODIFIER () |
|
|
::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()
The documentation for this class was generated from the following file: