3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Container.h"
7#include "mc/world/item/ItemStack.h"
8#include "mc/world/level/block/actor/BlockActor.h"
36 ::ll::TypedStorage<4, 4, int> mBrewTime;
37 ::ll::TypedStorage<4, 4, int> mFuelAmount;
38 ::ll::TypedStorage<4, 4, int> mFuelTotal;
39 ::ll::TypedStorage<8, 8, ::Item const*> mIngredient;
40 ::ll::TypedStorage<8, 760, ::ItemStack[5]> mItems;
41 ::ll::TypedStorage<1, 1, bool> mNotifyPlayersOnChange;
55 virtual ::ItemStack
const& getItem(
int slot)
const ;
58 virtual void setItem(
int slot,
::ItemStack const& item) ;
61 virtual ::std::string getName()
const ;
64 virtual int getMaxStackSize()
const ;
67 virtual int getContainerSize()
const ;
73 virtual void stopOpen(
::Player& player) ;
76 virtual void setContainerChanged(
int slot) ;
82 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
85 virtual bool canPullOutItem(
int slot,
int face,
::ItemStack const&)
const ;
88 virtual ::Container* getContainer() ;
91 virtual ::Container
const* getContainer()
const ;
106 virtual void onMove() ;
109 virtual void serverInitItemStackIds(
112 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
135 MCNAPI ::ItemStack
const&
$getItem(
int slot)
const;
174 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition BlockActor.h:32
Definition BlockSource.h:67
Definition BrewingStandBlockActor.h:22
MCAPI bool $canPushInItem(int slot, int face, ::ItemStack const &item) const
MCAPI void $setContainerChanged(int slot)
static MCAPI void ** $vftableForContainer()
MCAPI::std::string $getName() const
MCAPI int $getContainerSize() const
MCAPI BrewingStandBlockActor(::BlockPos const &pos)
MCAPI void $serverInitItemStackIds(int containerSlot, int count, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI int $getMaxStackSize() const
MCAPI void $onChanged(::BlockSource ®ion)
static MCAPI void ** $vftableForBlockActor()
MCAPI bool $canPullOutItem(int slot, int face, ::ItemStack const &) const
MCAPI void $startOpen(::Player &)
MCAPI void $setItem(int slot, ::ItemStack const &item)
MCAPI::Container * $getContainer()
MCAPI void $tick(::BlockSource ®ion)
MCAPI void $onRemoved(::BlockSource &)
MCAPI void * $ctor(::BlockPos const &pos)
MCAPI::ItemStack const & $getItem(int slot) const
MCAPI::Container const * $getContainer() const
MCAPI void $stopOpen(::Player &player)
MCAPI void $load(::ILevel &level, ::CompoundTag const &base, ::DataLoadHelper &dataLoadHelper)
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
Definition CompoundTag.h:13
Definition Container.h:30
Definition DataLoadHelper.h:20
Definition ItemStack.h:25
Definition SaveContext.h:5