17class StructureAnimationData {
21 ::ll::TypedStorage<8, 8, uint64> mTickQueued;
22 ::ll::TypedStorage<8, 32, ::std::string> mStructureName;
23 ::ll::TypedStorage<8, 104, ::StructureSettings> mStructureSettings;
24 ::ll::TypedStorage<4, 4, uint> mBlocksPlaced;
25 ::ll::TypedStorage<4, 4, uint> mTotalBlocks;
26 ::ll::TypedStorage<1, 1, uchar> mInitialStructureVersion;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandArea>> mCmdArea;
28 ::ll::TypedStorage<4, 12, ::BlockPos> mPlacementPos;
29 ::ll::TypedStorage<4, 4, uint> mQueueID;
30 ::ll::TypedStorage<4, 4, ::DimensionType> mTargetDimension;
35 StructureAnimationData& operator=(StructureAnimationData
const&);
36 StructureAnimationData(StructureAnimationData
const&);
37 StructureAnimationData();
42 MCAPI StructureAnimationData(::StructureAnimationData&&);
44 MCAPI StructureAnimationData(
45 ::std::unique_ptr<::CommandArea> cmdArea,
47 ::std::string
const& structureName,
49 uchar structureVersion,
53 MCAPI
bool allBlocksPlaced()
const;
55 MCAPI uint getBlocksExpectedToPlace(uint64 currentTick)
const;
57 MCFOLD uint getBlocksPlaced()
const;
59 MCAPI ::BlockSource& getDimensionBlockSource()
const;
61 MCFOLD ::BlockPos
const& getPosition()
const;
63 MCFOLD uint getQueueID()
const;
65 MCFOLD ::std::string
const& getStructureName()
const;
67 MCFOLD ::StructureSettings
const& getStructureSettings()
const;
69 MCFOLD uchar getStructureVersion()
const;
71 MCFOLD ::DimensionType
const& getTargetDimension()
const;
73 MCFOLD uint getTotalBlocks()
const;
77 MCFOLD
void setBlocksPlaced(uint blocksPlaced);
79 MCAPI
void setCmdArea(::std::unique_ptr<::CommandArea> cmdArea);
81 MCAPI
void setQueueID(uint queueID);
85 MCAPI ~StructureAnimationData();
91 MCAPI static ::StructureAnimationData load(::std::string
const& key,
::CompoundTag const& tag);
97 MCAPI
void* $ctor(::StructureAnimationData&&);
100 ::std::unique_ptr<::CommandArea> cmdArea,
102 ::std::string
const& structureName,
104 uchar structureVersion,