22 ::ll::TypedStorage<1, 1, bool> mIsTrialMode;
23 ::ll::TypedStorage<1, 1, bool> mHasDisplayedIntro;
24 ::ll::TypedStorage<4, 4, int> mTrialEndedReminder;
25 ::ll::TypedStorage<8, 64, ::std::function<void(
bool)>> mShowUpsellScreenCallback;
31 virtual bool attack(
::Actor& entity) ;
33 virtual bool interact(
::Actor& entity,
::Vec3 const& location) ;
35 virtual bool destroyBlock(
::BlockPos const& pos, uchar face) ;
37 virtual bool startDestroyBlock(
::BlockPos const& pos, uchar face,
bool& hasDestroyedBlock) ;
39 virtual void startBuildBlock(
::BlockPos const& pos, uchar face) ;
41 virtual bool buildBlock(
::BlockPos const& pos, uchar face,
bool const isSimTick) ;
47 virtual ::InteractionResult useItemOn(
58 virtual void setTrialMode(
bool isEnabled) ;
60 virtual bool isInTrialMode() ;
62 virtual void registerUpsellScreenCallback(::std::function<
void(
bool)> callback) ;
70 MCAPI
void _messagePlayers(::std::string message);
72 MCAPI
void _showTrialReminder(
bool force);
78 MCAPI
static bool& mTrialHasEnded();
84 MCAPI
bool $attack(
::Actor& entity);
86 MCAPI
bool $interact(
::Actor& entity,
::Vec3 const& location);
88 MCAPI
bool $destroyBlock(
::BlockPos const& pos, uchar face);
90 MCAPI
bool $startDestroyBlock(
::BlockPos const& pos, uchar face,
bool& hasDestroyedBlock);
92 MCAPI
void $startBuildBlock(
::BlockPos const& pos, uchar face);
94 MCAPI
bool $buildBlock(
::BlockPos const& pos, uchar face,
bool const isSimTick);
100 MCAPI ::InteractionResult $useItemOn(
111 MCAPI
void $setTrialMode(
bool isEnabled);
113 MCAPI
bool $isInTrialMode();
115 MCAPI
void $registerUpsellScreenCallback(::std::function<
void(
bool)> callback);