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;
60 virtual void normalTick() ;
63 virtual float getShadowRadius()
const ;
66 virtual float causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source) ;
69 virtual void teleportTo(
71 bool shouldStopRiding,
78 virtual bool canChangeDimensionsUsingPortal()
const ;
81 virtual void onSynchedDataUpdate(
int dataId) ;
87 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
105 MCAPI
void _waitRemoval();
107 MCAPI
void breakBlock();
111 MCAPI ::Block
const& getFallingBlock()
const;
113 MCAPI
void setFallingBlock(
::Block const& block,
bool creative);
131 MCAPI
void $normalTick();
133 MCFOLD
float $getShadowRadius()
const;
135 MCAPI
float $causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source);
138 $teleportTo(
::Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
140 MCAPI
bool $canChangeDimensionsUsingPortal()
const;
142 MCAPI
void $onSynchedDataUpdate(
int dataId);
Definition EntityContext.h:16