3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nbt/CompoundTag.h"
7#include "mc/world/Direction.h"
8#include "mc/world/actor/ActorDefinitionIdentifier.h"
9#include "mc/world/level/block/actor/BlockActorRendererId.h"
10#include "mc/world/level/block/actor/BlockActorType.h"
11#include "mc/world/level/block/actor/VanillaBlockActor.h"
26class SerializedActorBlockActor :
public ::VanillaBlockActor {
38 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActorIdentifier;
39 ::ll::TypedStorage<8, 24, ::CompoundTag> mSaveData;
46 ::ll::TypedStorage<8, 200, ::SerializedActorBlockActor::SerializedActor> mSerializedActor;
47 ::ll::TypedStorage<4, 4, int> mPose;
52 SerializedActorBlockActor();
63 virtual void getDebugText(
64 ::std::vector<::std::string>& outputInfo,
69 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
79 ::BlockActorType type,
80 ::BlockActorRendererId rendererId,
115 ::BlockActorType type,
116 ::BlockActorRendererId rendererId,
131 ::std::vector<::std::string>& outputInfo,
Definition BlockActorDataPacket.h:19
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ItemStackBase.h:45
Definition SaveContext.h:5
static MCAPI void ** $vftableForBlockActor()
MCAPI void * $ctor(::BlockPos const &pos, ::BlockActorType type, ::BlockActorRendererId rendererId, ::ActorDefinitionIdentifier defaultActorIdentifier)
static MCAPI ::std::string_view const & ACTOR_TAG_NAME()
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource ®ion)
static MCAPI ::std::string_view const & POSE_TAG_NAME()
static MCAPI void savePoseToItemForInventoryRendering(::ItemStackBase &item, int pose)
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource &)
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI::Actor * spawnActor(::BlockSource ®ion, ::Direction::Type direction)
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
static MCAPI ::std::string_view const & SAVE_DATA_TAG_NAME()
MCAPI void saveUserData(::CompoundTag &tag) const
static MCAPI ::std::string_view const & ACTOR_IDENTIFIER_TAG_NAME()
MCAPI void $onChanged(::BlockSource ®ion)
MCAPI void executeEvent(::BlockSource &, ::BlockPos const &pos, ::Block const &, ::std::string const &eventName, ::Actor &actor)
MCAPI SerializedActorBlockActor(::BlockPos const &pos, ::BlockActorType type, ::BlockActorRendererId rendererId, ::ActorDefinitionIdentifier defaultActorIdentifier)
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
MCAPI void $getDebugText(::std::vector<::std::string > &outputInfo, ::BlockPos const &debugPos, ::BlockSource const *region) const
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
Definition ActorDefinitionIdentifier.h:15
Definition SerializedActorBlockActor.h:34