27class FallingBlockActor :
public ::PredictableProjectile {
30 enum class State :
int {
38 ::ll::TypedStorage<1, 1, bool> mCreative;
39 ::ll::TypedStorage<4, 4, ::FallingBlockActor::State> mState;
40 ::ll::TypedStorage<4, 4, int> mWaitTicks;
41 ::ll::TypedStorage<4, 4, int> mTime;
42 ::ll::TypedStorage<1, 1, bool> mCancelDrop;
43 ::ll::TypedStorage<1, 1, bool> mHurtEntities;
44 ::ll::TypedStorage<4, 4, int> mFallDamageMax;
45 ::ll::TypedStorage<4, 4, float> mFallDamageAmount;
46 ::ll::TypedStorage<4, 12, ::Vec3> mRenderOffset;
47 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mFallingBlockSerId;
48 ::ll::TypedStorage<2, 2, ::NewBlockID> mFallingBlockId;
49 ::ll::TypedStorage<2, 2, ushort> mFallingBlockData;
61 virtual void normalTick() ;
63 virtual float getShadowRadius()
const ;
65 virtual float causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source) ;
67 virtual void teleportTo(
69 bool shouldStopRiding,
75 virtual bool canChangeDimensionsUsingPortal()
const ;
77 virtual void onSynchedDataUpdate(
int dataId) ;
81 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
89 MCAPI FallingBlockActor(
97 MCAPI
void breakBlock();
101 MCAPI ::Block
const& getFallingBlock()
const;
103 MCAPI
void setFallDamageAmount(
float amount);
105 MCAPI
void setFallingBlock(
::Block const& block,
bool creative);
123 MCAPI
void $normalTick();
125 MCFOLD
float $getShadowRadius()
const;
127 MCAPI
float $causeFallDamageToActor(
float distance,
float multiplier,
::ActorDamageSource source);
130 $teleportTo(
::Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
132 MCAPI
bool $canChangeDimensionsUsingPortal()
const;
134 MCAPI
void $onSynchedDataUpdate(
int dataId);
148 MCAPI
static void** $vftable();
Definition EntityContext.h:17