37 ::ll::TypedStorage<4, 4, int> mNutrition;
38 ::ll::TypedStorage<4, 4, float> mSaturationModifier;
39 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mUsingConvertsTo;
40 ::ll::TypedStorage<1, 1, bool> mCanAlwaysEat;
49 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
50 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
60 virtual int getNutrition()
const ;
62 virtual float getSaturationModifier()
const ;
64 virtual bool canAlwaysEat()
const ;
70 virtual ::Item
const* useTimeDepleted(
71 ::ItemUseMethod& itemUseMethod,
88 MCAPI
static void bindType(
90 ::std::vector<::AllExperiments>
const& requiredToggles,
91 ::std::optional<::SemVersion> releasedMinFormatVersion
94 MCAPI static ::HashedString
const& getIdentifier();
102 MCFOLD
int $getNutrition()
const;
104 MCFOLD
float $getSaturationModifier()
const;
106 MCFOLD
bool $canAlwaysEat()
const;
112 MCAPI ::Item
const* $useTimeDepleted(
113 ::ItemUseMethod& itemUseMethod,