30class SerializedActorBlockActor :
public ::BlockActor {
42 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActorIdentifier;
43 ::ll::TypedStorage<8, 24, ::CompoundTag> mSaveData;
50 ::ll::TypedStorage<8, 200, ::SerializedActorBlockActor::SerializedActor> mSerializedActor;
51 ::ll::TypedStorage<4, 4, int> mPose;
56 SerializedActorBlockActor();
67 virtual void getDebugText(
68 ::std::vector<::std::string>& outputInfo,
73 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
81 MCAPI SerializedActorBlockActor(
83 ::BlockActorType type,
84 ::BlockActorRendererId rendererId,
88 MCAPI ::Actor* _loadSerializedActor(
98 MCFOLD
int getPose()
const;
100 MCAPI
int getSignalStrength()
const;
106 MCAPI
void setPose(
int pose);
108 MCAPI ::Actor* spawnActor(
::BlockSource& region, ::Direction::Type direction);
110 MCAPI
bool trySerializeActor(
::Actor const& actor);
119 MCAPI
static bool isItemSerializedActorBlock(
::ItemStackBase const& item);
121 MCAPI
static bool isSerializedActorBlock(
::BlockType const& block);
124 MCAPI
static void savePoseToItemForInventoryRendering(
::ItemStackBase& item,
int pose);
130 MCAPI static ::std::string_view
const& ACTOR_IDENTIFIER_TAG_NAME();
132 MCAPI static ::std::string_view
const& ACTOR_TAG_NAME();
134 MCAPI static ::std::string_view
const& POSE_TAG_NAME();
136 MCAPI static ::std::string_view
const& SAVE_DATA_TAG_NAME();
144 ::BlockActorType type,
145 ::BlockActorRendererId rendererId,
159 MCAPI
void $getDebugText(
160 ::std::vector<::std::string>& outputInfo,
165 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5