32 ::ll::TypedStorage<4, 4, float> mSpeed;
33 ::ll::TypedStorage<1, 1, bool> mIsGlobalChest;
34 ::ll::TypedStorage<1, 1, bool> mUsesLegacyBlockDetection;
35 ::ll::TypedStorage<4, 4, float> mObstructionHeight;
37 ::ll::TypedStorage<4, 4, float> mOpenness;
38 ::ll::TypedStorage<4, 4, float> mOldOpenness;
39 ::ll::TypedStorage<1, 1, bool> mIsOpen;
40 ::ll::TypedStorage<4, 4, int> mTickInterval;
41 bool mPairingChanged : 1;
43 bool mDeferredPairLoad : 1;
45 ::ll::TypedStorage<4, 4, int> mDeferredPairX;
46 ::ll::TypedStorage<4, 4, int> mDeferredPairZ;
47 ::ll::TypedStorage<8, 8, ::ChestBlockActor*> mLargeChestPaired;
48 ::ll::TypedStorage<4, 12, ::BlockPos> mLargeChestPairedPosition;
49 ::ll::TypedStorage<1, 1, bool> mIsTrappedChest;
50 ::ll::TypedStorage<1, 1, bool> mIsFindable;
51 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorUniqueID>> mOpenedByIds;
52 ::ll::TypedStorage<4, 4, int> mUpdateFlags;
62 virtual int getContainerSize()
const ;
65 virtual int getMaxStackSize()
const ;
68 virtual ::std::string getName()
const ;
71 virtual ::ItemStack
const& getItem(
int slot)
const ;
74 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
77 virtual void setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced) ;
80 virtual void serverInitItemStackIds(
83 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
102 virtual void clearCache() ;
108 virtual void triggerEvent(
int b0,
int b1) ;
111 virtual void startOpen(
::Player& player) ;
117 virtual void stopOpen(
::Player& player) ;
129 virtual int clearInventory(
int resizeTo) ;
132 virtual ::Container* getContainer() ;
135 virtual ::Container
const* getContainer()
const ;
138 virtual void onMove() ;
147 virtual void setContainerChanged(
int slot) ;
150 virtual bool canPushInItem(
int,
int,
::ItemStack const&)
const ;
153 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
156 virtual void getDebugText(::std::vector<::std::string>& outputInfo,
::BlockPos const& debugPos) ;
165 virtual void initializeContainerContents(
::BlockSource& region) ;
168 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
183 virtual ::AABB getObstructionAABB()
const;
186 virtual bool _detectEntityObstruction(
::BlockSource& region)
const;
193 ::BlockActorType type,
194 ::std::string
const& renderId,
195 ::BlockActorRendererId pos,
202 MCAPI
bool _detectBlockObstruction(
::BlockSource& region)
const;
208 MCAPI
void _unpair();
225 ::BlockActorType type,
226 ::std::string
const& renderId,
227 ::BlockActorRendererId pos,
242 MCAPI
int $getContainerSize()
const;
244 MCFOLD
int $getMaxStackSize()
const;
246 MCAPI ::std::string $getName()
const;
248 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
250 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
252 MCFOLD
void $setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced);
254 MCAPI
void $serverInitItemStackIds(
257 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
270 MCFOLD
void $clearCache();
274 MCAPI
void $triggerEvent(
int b0,
int b1);
276 MCAPI
void $startOpen(
::Player& player);
280 MCAPI
void $stopOpen(
::Player& player);
288 MCAPI
int $clearInventory(
int resizeTo);
290 MCFOLD ::Container* $getContainer();
292 MCFOLD ::Container
const* $getContainer()
const;
294 MCFOLD
void $onMove();
300 MCAPI
void $setContainerChanged(
int slot);
302 MCFOLD
bool $canPushInItem(
int,
int,
::ItemStack const&)
const;
304 MCFOLD
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
306 MCAPI
void $getDebugText(::std::vector<::std::string>& outputInfo,
::BlockPos const& debugPos);
312 MCAPI
void $initializeContainerContents(
::BlockSource& region);
314 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
324 MCAPI ::AABB $getObstructionAABB()
const;
326 MCAPI
bool $_detectEntityObstruction(
::BlockSource& region)
const;
332 MCAPI
static void** $vftableForFillingContainer();
334 MCAPI
static void** $vftableForRandomizableBlockActorContainerBase();
Definition ContainerContentChangeListener.h:5
Definition SaveContext.h:5