File BlockActor.hpp¶
-
class UIProfanityContext¶
-
class BlockActor¶
Subclassed by RandomizableBlockActorContainerBase
Public Functions
-
virtual ~BlockActor()¶
-
virtual void load(Level &a2, const CompoundTag &tag, DataLoadHelper &a4)¶
-
virtual bool save(CompoundTag &tag) const¶
-
virtual bool saveItemInstanceData(CompoundTag&) const¶
-
virtual void setUgcStrings(CompoundTag&, const std::vector<std::string>&) const¶
-
virtual void loadBlockData(const CompoundTag &a2, BlockSource &a3, DataLoadHelper &a4)¶
-
virtual void onCustomTagLoadDone(BlockSource &a2)¶
-
virtual void tick(BlockSource ®ion)¶
-
virtual void onChanged(BlockSource &a2)¶
-
virtual bool isMovable(BlockSource &a2)¶
-
virtual bool isCustomNameSaved()¶
-
virtual void onPlace(BlockSource &a2)¶
-
virtual void onMove()¶
-
virtual void onRemoved(BlockSource &a2)¶
-
virtual bool isPreserved(BlockSource &a2) const¶
-
virtual bool shouldPreserve(BlockSource &a2)¶
-
virtual void triggerEvent(int a2, int a3) const¶
-
virtual void clearCache()¶
-
virtual void onNeighborChanged(BlockSource ®ion, BlockPos const &position) const¶
-
virtual float getShadowRadius(BlockSource &a2) const¶
-
virtual bool hasAlphaLayer() const¶
-
virtual BlockActor *getCrackEntity(BlockSource &a2, const BlockPos &a3)¶
-
virtual const std::string &getFilteredCustomName(const gsl::not_null<Bedrock::NonOwnerPointer<UIProfanityContext>>&)¶
-
virtual std::string getImmersiveReaderText(BlockSource&)¶
-
virtual int getRepairCost() const¶
-
virtual void _unknown_30()¶
-
virtual void _unknown_31()¶
-
virtual void _unknown_32()¶
-
virtual void _unknown_33()¶
-
virtual void eraseLootTable()¶
-
virtual void _unknown_35()¶
-
virtual void _unknown_36()¶
-
virtual std::vector<std::string> getUgcStrings(const CompoundTag&) const¶
-
virtual void _unknown_38()¶
-
virtual void _unknown_39()¶
-
BlockActor(BlockActorType type, const BlockPos &pos, const std::string &id)¶
Public Members
-
int mTickCount¶
-
float mDestroyTimer¶
-
float mDestroyProgress¶
-
const BlockActorType mType¶
-
BlockActorRendererId mRendererId¶
-
int mRepairCost¶
-
bool mClientSideOnly¶
-
bool mIsMovable¶
-
bool mSaveCustomName¶
-
bool mCanRenderCustomName¶
-
const float signShadowRadius¶
-
ActorTerrainInterlockData mTerrainInterlockData¶
-
bool mChanged¶
Protected Functions
-
virtual std::unique_ptr<BlockActorDataPacket> _getUpdatePacket(BlockSource &a2)¶
-
virtual void _onUpdatePacket(const CompoundTag &a2, BlockSource &a3)¶
-
virtual ~BlockActor()¶
-
class BlockActorFactory¶
Public Static Functions
-
static std::shared_ptr<BlockActor> createBlockEntity(BlockActorType type, const BlockPos &pos, const BlockLegacy &block)¶
-
static std::shared_ptr<BlockActor> createBlockEntity(BlockActorType type, const BlockPos &pos, const BlockLegacy &block)¶