25class ChalkboardBlockActor :
public ::VanillaBlockActor {
39 ::ll::TypedStorage<8, 32, ::std::string> text;
40 ::ll::TypedStorage<4, 4, int> lineLength;
48 ::ll::TypedStorage<8, 640, ::std::array<::ChalkboardBlockActor::CachedLineData, 16>> lineData;
49 ::ll::TypedStorage<4, 4, uint> numLines;
50 ::ll::TypedStorage<8, 32, ::std::string> filteredMessage;
51 ::ll::TypedStorage<8, 8, void const*> cachedFontCompare;
52 ::ll::TypedStorage<1, 1, bool> dirty;
76 ::ll::TypedStorage<1, 1, bool> mChunkFound;
77 ::ll::TypedStorage<8, 8, ::ChalkboardBlockActor*> mBoard;
90 ::ll::TypedStorage<8, 32, ::std::string> mText;
91 ::ll::TypedStorage<8, 32, ::std::string> mTextObjectString;
92 ::ll::TypedStorage<8, 32, ::TextObjectRoot> mTextObjectMessage;
93 ::ll::TypedStorage<8, 696, ::ChalkboardBlockActor::CachedMessageData> mCachedMessage;
94 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mSiblings;
95 ::ll::TypedStorage<1, 1, bool> mShouldPersistFormatting;
96 ::ll::TypedStorage<4, 12, ::BlockPos> mBasePos;
97 ::ll::TypedStorage<1, 1, ::ChalkboardSize> mSize;
98 ::ll::TypedStorage<1, 1, bool> mIsOnGround;
99 ::ll::TypedStorage<1, 1, bool> mIsLocked;
100 ::ll::TypedStorage<1, 1, bool> mInitialized;
101 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwner;
106 ChalkboardBlockActor();
111 virtual ~ChalkboardBlockActor() =
default;
121 virtual ::std::string getImmersiveReaderText(
::BlockSource& region) ;
123 virtual ::std::vector<::std::string> getUgcStrings(
::CompoundTag const& tag)
const ;
125 virtual void setUgcStrings(
::CompoundTag& tag, ::std::vector<::std::string>
const& list)
const ;
127 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
140 MCNAPI ::std::string
const& getText()
const;
146 MCNAPI ::ChalkboardBlockActor::CachedMessageData&
158 MCNAPI static ::std::vector<::BlockPos>
165 ::ChalkboardSize boardSize,
168 ::std::vector<::BlockPos>& occupiedBlocks,
170 bool generateParticles
179 ::ChalkboardSize boardSize,
static MCAPI ::ChalkboardBlockActor * createChalkboard(::Actor *creator, ::BlockSource ®ion, ::BlockPos const &basePos, ::ChalkboardSize boardSize, uchar face, int dir, bool isOnGround, ::ItemStack const &instance, ::std::string text)
static MCAPI bool canCreateChalkboard(::Actor *creator, ::BlockSource ®ion, ::BlockPos const &basePos, ::ChalkboardSize boardSize, uchar face, int dir, ::std::vector<::BlockPos > &occupiedBlocks, ::ItemStack const &instance, bool generateParticles)
Definition SaveContext.h:5
Definition TextObjectRoot.h:14