mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
37 lines
1014 B
C++
37 lines
1014 B
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
#include "Json.hpp"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class FoodItemComponent {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOODITEMCOMPONENT
|
|
public:
|
|
class FoodItemComponent& operator=(class FoodItemComponent const &) = delete;
|
|
FoodItemComponent(class FoodItemComponent const &) = delete;
|
|
FoodItemComponent() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOODITEMCOMPONENT
|
|
#endif
|
|
MCAPI class Item const * eatItem(class ItemStack &, class Actor &, class Level &);
|
|
MCAPI bool init(class Json::Value &);
|
|
|
|
//private:
|
|
MCAPI void _applyEatEffects(class ItemStack const &, class Actor &, class Level &);
|
|
MCAPI void _loadEffects(class Json::Value &);
|
|
MCAPI void _loadRemoveEffects(class Json::Value &);
|
|
MCAPI class Item const * useTimeDepleted(class ItemStack &, class Player &, class Level &);
|
|
|
|
private:
|
|
|
|
}; |