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;
32 virtual bool attack(
::Actor& entity) ;
35 virtual bool interact(
::Actor& entity,
::Vec3 const& location) ;
38 virtual bool destroyBlock(
::BlockPos const& pos, uchar face) ;
41 virtual bool startDestroyBlock(
::BlockPos const& pos, uchar face,
bool& hasDestroyedBlock) ;
44 virtual void startBuildBlock(
::BlockPos const& pos, uchar face) ;
47 virtual bool buildBlock(
::BlockPos const& pos, uchar face,
bool const isSimTick) ;
56 virtual ::InteractionResult useItemOn(
69 virtual void setTrialMode(
bool isEnabled) ;
72 virtual bool isInTrialMode() ;
75 virtual void registerUpsellScreenCallback(::std::function<
void(
bool)> callback) ;
84 MCAPI
void _messagePlayers(::std::string message);
86 MCAPI
void _showTrialReminder(
bool force);
92 MCAPI
static bool& mTrialHasEnded();
98 MCAPI
bool $attack(
::Actor& entity);
100 MCAPI
bool $interact(
::Actor& entity,
::Vec3 const& location);
102 MCAPI
bool $destroyBlock(
::BlockPos const& pos, uchar face);
104 MCAPI
bool $startDestroyBlock(
::BlockPos const& pos, uchar face,
bool& hasDestroyedBlock);
106 MCAPI
void $startBuildBlock(
::BlockPos const& pos, uchar face);
108 MCAPI
bool $buildBlock(
::BlockPos const& pos, uchar face,
bool const isSimTick);
114 MCAPI ::InteractionResult $useItemOn(
125 MCAPI
void $setTrialMode(
bool isEnabled);
127 MCAPI
bool $isInTrialMode();
129 MCAPI
void $registerUpsellScreenCallback(::std::function<
void(
bool)> callback);