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;
66 virtual int getContainerSize()
const ;
69 virtual int getMaxStackSize()
const ;
72 virtual ::std::string getName()
const ;
75 virtual ::ItemStack
const& getItem(
int slot)
const ;
78 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
81 virtual void setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced) ;
84 virtual void serverInitItemStackIds(
87 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
106 virtual void clearCache() ;
112 virtual void triggerEvent(
int b0,
int b1) ;
115 virtual void startOpen(
::Player& player) ;
121 virtual void stopOpen(
::Player& player) ;
133 virtual int clearInventory(
int resizeTo) ;
136 virtual ::Container* getContainer() ;
139 virtual ::Container
const* getContainer()
const ;
142 virtual void onMove() ;
151 virtual void setContainerChanged(
int slot) ;
154 virtual bool canPushInItem(
int,
int,
::ItemStack const&)
const ;
157 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
160 virtual void getDebugText(::std::vector<::std::string>& outputInfo,
::BlockPos const& debugPos)
const ;
169 virtual void initializeContainerContents(
::BlockSource& region) ;
172 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
187 virtual ::AABB getObstructionAABB()
const;
190 virtual bool _detectEntityObstruction(
::BlockSource& region)
const;
197 ::BlockActorType type,
198 ::std::string
const&
id,
199 ::BlockActorRendererId renderId,
206 MCAPI
bool _detectBlockObstruction(
::BlockSource& region)
const;
212 MCAPI
void _unpair();
229 ::BlockActorType type,
230 ::std::string
const&
id,
231 ::BlockActorRendererId renderId,
246 MCAPI
int $getContainerSize()
const;
248 MCFOLD
int $getMaxStackSize()
const;
250 MCAPI ::std::string $getName()
const;
252 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
254 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
256 MCFOLD
void $setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced);
258 MCAPI
void $serverInitItemStackIds(
261 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
274 MCFOLD
void $clearCache();
278 MCAPI
void $triggerEvent(
int b0,
int b1);
280 MCAPI
void $startOpen(
::Player& player);
284 MCAPI
void $stopOpen(
::Player& player);
292 MCAPI
int $clearInventory(
int resizeTo);
294 MCFOLD ::Container* $getContainer();
296 MCFOLD ::Container
const* $getContainer()
const;
298 MCFOLD
void $onMove();
304 MCAPI
void $setContainerChanged(
int slot);
306 MCFOLD
bool $canPushInItem(
int,
int,
::ItemStack const&)
const;
308 MCFOLD
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
310 MCAPI
void $getDebugText(::std::vector<::std::string>& outputInfo,
::BlockPos const& debugPos)
const;
316 MCAPI
void $initializeContainerContents(
::BlockSource& region);
318 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
328 MCAPI ::AABB $getObstructionAABB()
const;
330 MCAPI
bool $_detectEntityObstruction(
::BlockSource& region)
const;
Definition ContainerContentChangeListener.h:5
Definition SaveContext.h:5