27 enum class State :
int {
35 ::ll::TypedStorage<1, 1, bool> mCreative;
36 ::ll::TypedStorage<4, 4, ::FallingBlockActor::State> mState;
37 ::ll::TypedStorage<4, 4, int> mWaitTicks;
38 ::ll::TypedStorage<4, 4, int> mTime;
39 ::ll::TypedStorage<1, 1, bool> mCancelDrop;
40 ::ll::TypedStorage<1, 1, bool> mHurtEntities;
41 ::ll::TypedStorage<4, 4, int> mFallDamageMax;
42 ::ll::TypedStorage<4, 4, float> mFallDamageAmount;
43 ::ll::TypedStorage<4, 12, ::Vec3> mRenderOffset;
44 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mFallingBlockSerId;
45 ::ll::TypedStorage<2, 2, ::NewBlockID> mFallingBlockId;
46 ::ll::TypedStorage<2, 2, ushort> mFallingBlockData;
58 virtual void normalTick() ;
60 virtual float getShadowRadius()
const ;
62 virtual float causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source) ;
64 virtual void teleportTo(
66 bool shouldStopRiding,
72 virtual bool canChangeDimensionsUsingPortal()
const ;
74 virtual void onSynchedDataUpdate(
int dataId) ;
78 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
82 virtual ~FallingBlockActor() =
default;
88 MCAPI FallingBlockActor(
94 MCAPI
void breakBlock();
98 MCAPI ::Block
const& getFallingBlock()
const;
100 MCAPI
void setFallingBlock(
::Block const& block,
bool creative);
118 MCAPI
void $normalTick();
120 MCFOLD
float $getShadowRadius()
const;
122 MCAPI
float $causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source);
125 $teleportTo(
::Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
127 MCAPI
bool $canChangeDimensionsUsingPortal()
const;
129 MCAPI
void $onSynchedDataUpdate(
int dataId);
143 MCAPI
static void** $vftable();
Definition EntityContext.h:16