28 enum class State :
int {
36 ::ll::TypedStorage<1, 1, bool> mCreative;
37 ::ll::TypedStorage<4, 4, ::FallingBlockActor::State> mState;
38 ::ll::TypedStorage<4, 4, int> mWaitTicks;
39 ::ll::TypedStorage<4, 4, int> mTime;
40 ::ll::TypedStorage<1, 1, bool> mCancelDrop;
41 ::ll::TypedStorage<1, 1, bool> mHurtEntities;
42 ::ll::TypedStorage<4, 4, int> mFallDamageMax;
43 ::ll::TypedStorage<4, 4, float> mFallDamageAmount;
44 ::ll::TypedStorage<4, 12, ::Vec3> mRenderOffset;
45 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mFallingBlockSerId;
46 ::ll::TypedStorage<2, 2, ::NewBlockID> mFallingBlockId;
47 ::ll::TypedStorage<2, 2, ushort> mFallingBlockData;
59 virtual void normalTick() ;
61 virtual float getShadowRadius()
const ;
63 virtual float causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source) ;
65 virtual void teleportTo(
67 bool shouldStopRiding,
73 virtual bool canChangeDimensionsUsingPortal()
const ;
75 virtual void onSynchedDataUpdate(
int dataId) ;
79 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
83 virtual ~FallingBlockActor() =
default;
89 MCAPI FallingBlockActor(
95 MCAPI
void breakBlock();
99 MCAPI ::Block
const& getFallingBlock()
const;
101 MCAPI
void setFallingBlock(
::Block const& block,
bool creative);
119 MCAPI
void $normalTick();
121 MCFOLD
float $getShadowRadius()
const;
123 MCAPI
float $causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source);
126 $teleportTo(
::Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
128 MCAPI
bool $canChangeDimensionsUsingPortal()
const;
130 MCAPI
void $onSynchedDataUpdate(
int dataId);
144 MCAPI
static void** $vftable();
Definition EntityContext.h:16