LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/LecternBlockActor.hpp
2022-09-21 19:47:03 +08:00

41 lines
1.4 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class LecternBlockActor {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LECTERNBLOCKACTOR
public:
class LecternBlockActor& operator=(class LecternBlockActor const &) = delete;
LecternBlockActor(class LecternBlockActor const &) = delete;
LecternBlockActor() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LECTERNBLOCKACTOR
MCVAPI std::unique_ptr<class BlockActorDataPacket> _getUpdatePacket(class BlockSource &);
MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &);
MCVAPI class Container * getContainer();
MCVAPI class Container const * getContainer() const;
MCVAPI int getContainerSize() const;
MCVAPI class ItemStack const & getItem(int) const;
MCVAPI int getMaxStackSize() const;
MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &);
MCVAPI void onChanged(class BlockSource &);
MCVAPI bool save(class CompoundTag &) const;
MCVAPI void serverInitItemStackIds(int, int, class std::function<void (int, class ItemStack const &)>);
MCVAPI void setItem(int, class ItemStack const &);
MCVAPI void startOpen(class Player &);
MCVAPI void stopOpen(class Player &);
#endif
MCAPI void dropBook(class BlockSource &);
};