24 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
25 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mSuccessful;
26 ::ll::TypedStorage<4, 16, ::std::optional<::Vec3>
const> mHit;
27 ::ll::TypedStorage<1, 1, uchar const> mFace;
32 BlockPlayerInteractEvent& operator=(BlockPlayerInteractEvent
const&);
33 BlockPlayerInteractEvent(BlockPlayerInteractEvent
const&);
34 BlockPlayerInteractEvent();
39 virtual ::BlockSource
const& getBlockSource()
const ;
45 MCAPI BlockPlayerInteractEvent(
::Player& player,
::BlockPos pos, uchar face, ::std::optional<::Vec3> hit);
47 MCAPI
void configureRenderParamsForTrigger(
::RenderParams& params);
49 MCFOLD ::Player
const& getPlayer()
const;
51 MCFOLD ::Player& getPlayerNonConst();
53 MCFOLD
bool isClientSide()
const;
55 MCAPI
bool isInteractionFailure()
const;
57 MCAPI
bool isInteractionSuccessful()
const;
59 MCAPI
void setInteractionFailure();
61 MCAPI
void setInteractionResult(
bool isSuccessful);
63 MCAPI
void setInteractionSuccessful();
65 MCAPI
void setPlayerSelectedItem(
::ItemStack& item);
71 MCAPI
void* $ctor(
::Player& player,
::BlockPos pos, uchar face, ::std::optional<::Vec3> hit);
77 MCFOLD ::BlockSource
const& $getBlockSource()
const;