24class PistonBlockActor :
public ::BlockActor {
28 ::ll::TypedStorage<1, 1, bool> mSticky;
29 ::ll::TypedStorage<4, 4, float> mProgress;
30 ::ll::TypedStorage<4, 4, float> mLastProgress;
31 ::ll::TypedStorage<1, 1, bool> mWasPushedBackwardByANonStickyPiston;
32 ::ll::TypedStorage<1, 1, bool> mWasPulledForwardByAStickyPiston;
33 ::ll::TypedStorage<1, 1, ::PistonState> mOldState;
34 ::ll::TypedStorage<1, 1, ::PistonState> mState;
35 ::ll::TypedStorage<1, 1, ::PistonState> mNewState;
36 ::ll::TypedStorage<1, 1, bool> mVerifyArm;
37 ::ll::TypedStorage<1, 1, bool> mShouldVerifyArmType;
38 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mAttachedBlocks;
39 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::BlockPos>>> mFutureClientAttachedBlocks;
40 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mBreakBlocks;
60 virtual ::PistonBlockActor
const* getOwningPiston(
::BlockSource&)
const ;
62 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
66 virtual ~PistonBlockActor() ;
72 MCAPI PistonBlockActor(
::BlockPos const& pos,
bool isSticky);
74 MCAPI
bool _attachedBlockWalker(
77 uchar curBranchFacing,
78 uchar pistonMoveFacing
85 MCAPI
bool _handleSlimeConnections(
88 uchar curBranchFacing,
89 uchar pistonMoveFacing
92 MCAPI
bool _hasBlockAttached(
::BlockPos const& blockPos);
96 MCAPI
void _moveCollidedEntitiesHelper(
98 ::AABB const& insideBlockAABB,
112 MCAPI ::Block
const* getCorrectArmBlock()
const;
114 MCAPI
void moveEntityLastProgress(
::Actor& entity,
::Vec3 delta);
120 MCAPI
void* $ctor(
::BlockPos const& pos,
bool isSticky);
142 MCFOLD ::PistonBlockActor
const* $getOwningPiston(
::BlockSource&)
const;
144 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5