|
| virtual void | _initializeComponent (::ComponentItem &owner) |
| |
| 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 &, ::ItemStack const &, ::ItemStack &, ::Player &, ::Level &) |
| |
|
MCAPI | FoodItemComponent (::SharedTypes::v1_20_50::FoodItemComponent component) |
| |
|
MCAPI ::Bedrock::PubSub::Connector< void(::ItemStack const &, ::ItemStack &, ::Actor &)> & | onConsume () |
| |
|
MCAPI void * | $ctor (::SharedTypes::v1_20_50::FoodItemComponent component) |
| |
|
MCAPI void | $_initializeComponent (::ComponentItem &owner) |
| |
|
MCFOLD int | $getNutrition () const |
| |
|
MCFOLD float | $getSaturationModifier () const |
| |
|
MCFOLD bool | $canAlwaysEat () const |
| |
|
MCAPI::Item const * | $eatItem (::ItemStack &instance, ::Actor &actor, ::Level &level) |
| |
|
MCAPI void | $use (bool &result, ::ItemStack &item, ::Player &player) |
| |
| bool | isNetworkComponent () const override |
| |
|
std::unique_ptr< CompoundTag > | buildNetworkTag (const cereal::ReflectionCtx &) const override |
| |
|
virtual ::std::unique_ptr<::CompoundTag > | buildNetworkTag (::cereal::ReflectionCtx const &ctx) const |
| |
|
bool | initializeFromNetwork (const CompoundTag &, const cereal::ReflectionCtx &) override |
| |
|
virtual bool | initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx) |
| |
|
virtual bool | checkComponentDataForContentErrors () const |
| |
|
virtual void | writeSettings () |
| |
|
virtual void | handleVersionBasedInitialization (::SemVersion const &originalJsonVersion) |
| |
|
MCFOLD bool | $checkComponentDataForContentErrors () const |
| |
|
MCFOLD void | $writeSettings () |
| |
|
MCFOLD bool | $isNetworkComponent () const |
| |
|
MCFOLD ::std::unique_ptr<::CompoundTag > | $buildNetworkTag (::cereal::ReflectionCtx const &ctx) const |
| |
|
MCFOLD bool | $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx) |
| |
|
MCFOLD void | $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion) |
| |
|
|
::ll::TypedStorage< 4, 4, int > | mNutrition |
| |
|
::ll::TypedStorage< 4, 4, float > | mSaturationModifier |
| |
|
::ll::TypedStorage< 8, 16, ::ItemDescriptor > | mUsingConvertsTo |
| |
|
::ll::TypedStorage< 1, 1, bool > | mCanAlwaysEat |
| |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Bedrock::PubSub::Publisher< void(::ItemStack const &, ::ItemStack &, ::Actor &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > > | mOnConsumePublisher |
| |
|
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > | mOnUseTimeDepletedSubscription |
| |
|
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > | mOnUseSubscription |
| |
|
::ll::TypedStorage< 8, 8, ::ComponentItem * > | mOwner |
| |