17struct PlayerActionComponent {
21 ::ll::TypedStorage<8, 8, ::std::bitset<38>> mPlayerActions;
22 ::ll::TypedStorage<8, 312, ::std::optional<::PackedItemUseLegacyInventoryTransaction>> mItemUseTransaction;
23 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStackRequestData>> mItemStackRequest;
24 ::ll::TypedStorage<8, 24, ::PlayerBlockActions> mPlayerBlockActions;
25 ::ll::TypedStorage<4, 8, ::Vec2> mPreSimulationRotation;
30 PlayerActionComponent& operator=(PlayerActionComponent
const&);
31 PlayerActionComponent(PlayerActionComponent
const&);
36 MCAPI PlayerActionComponent();
38 MCAPI PlayerActionComponent(::PlayerActionComponent&&);
41 MCAPI
void addAbortDestroyBlock(
::BlockPos const& pos,
int data);
44 MCAPI
void addAction(::PlayerActionType action);
47 MCAPI
void addContinueDestroyBlock(
::BlockPos const& pos,
int facing);
49 MCAPI
void addCrackBlock(
::BlockPos const& pos,
int facing);
51 MCAPI
void addItemStackRequest(::std::unique_ptr<::ItemStackRequestData> request);
53 MCAPI
void addPredictDestroyBlock(
::BlockPos const& pos,
int facing);
55 MCAPI
void addStartDestroyBlock(
::BlockPos const& pos,
int facing);
57 MCAPI
void addStopDestroyBlock();
62 MCAPI ::PlayerActionComponent& operator=(::PlayerActionComponent&&);
64 MCAPI ~PlayerActionComponent();
72 MCAPI
void* $ctor(::PlayerActionComponent&&);