30 ::ll::TypedStorage<8, 760, ::ItemStack[5]> mItems;
31 ::ll::TypedStorage<8, 8, ::Tick> mLastTick;
51 virtual ::ItemStack
const& getItem(
int slot)
const ;
54 virtual void setItem(
int slot,
::ItemStack const& item) ;
57 virtual ::std::string getName()
const ;
60 virtual int getContainerSize()
const ;
63 virtual int getMaxStackSize()
const ;
69 virtual void stopOpen(
::Player& player) ;
72 virtual ::Container* getContainer() ;
75 virtual ::Container
const* getContainer()
const ;
78 virtual void setContainerChanged(
int slot) ;
87 virtual void onMove() ;
90 virtual void serverInitItemStackIds(
93 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
97 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
111 MCAPI
void _ensureTickingOrder(
::BlockSource& region,
int maxRecursion);
115 MCAPI ::FurnaceBlockActor* getAttachedFurnace(
::BlockSource& region);
117 MCAPI
bool isAttachedToChestAndFurnace(
::BlockSource& region);
119 MCAPI
bool isAttachedToContainerType(
::BlockSource& region, ::SharedTypes::Legacy::ContainerType containerType);
121 MCAPI
bool isSourceOfContainerType(
::BlockSource& region, ::SharedTypes::Legacy::ContainerType containerType);
123 MCAPI
void updateCooldownAfterMove(
::Tick const& currentTick,
int time);
141 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
143 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
145 MCAPI ::std::string $getName()
const;
147 MCFOLD
int $getContainerSize()
const;
149 MCFOLD
int $getMaxStackSize()
const;
153 MCFOLD
void $stopOpen(
::Player& player);
155 MCFOLD ::Container* $getContainer();
157 MCFOLD ::Container
const* $getContainer()
const;
159 MCFOLD
void $setContainerChanged(
int slot);
165 MCFOLD
void $onMove();
167 MCAPI
void $serverInitItemStackIds(
170 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
173 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5