Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleGameTest::ScriptGameTestHelper Class Reference

Public Member Functions

ScriptGameTestHelper & operator= (ScriptGameTestHelper const &)
 ScriptGameTestHelper (ScriptGameTestHelper const &)
MCAPI ::std::optional<::BlockType const * > _getBlockFromVariant (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const &block)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertBlockState (::Vec3 const &position, ::Scripting::Closure< bool(::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock >)> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertBlockTypePresent (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const &block, ::Vec3 const &position, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertCanReachLocation (::ScriptModuleMinecraft::ScriptActor &mob, ::Vec3 const &position, bool canReach)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertCondition (bool condition, ::std::string const &message)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertContainerContains (::ScriptModuleMinecraft::ScriptItemStack const &item, ::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertContainerEmpty (::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityHasArmor (::std::string const &actorIdentifier, int armorSlot, ::std::string const &armorName, int dataValue, ::Vec3 const &position, bool hasArmor)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityHasComponent (::std::string const &actorIdentifier, ::std::string const &componentIdentifier, ::Vec3 const &position, bool hasComponent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityInstancePresent (::ScriptModuleMinecraft::ScriptActor const &scriptActor, ::Vec3 const &position, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityInstancePresentInArea (::ScriptModuleMinecraft::ScriptActor const &scriptActor, bool isPresent) const
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityPresent (::std::string const &entityIdentifier, ::Vec3 const &position, float distance, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityPresentInArea (::std::string const &entityIdentifier, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityState (::Vec3 const &position, ::std::string const &entityIdentifier, ::Scripting::Closure< bool(::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >)> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertEntityTouching (::std::string const &entityIdentifier, ::Vec3 const &position, bool isTouching)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertIsWaterlogged (::Vec3 const &position, bool isWaterlogged)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertItemEntityCountIs (::std::variant<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > itemTypeOrId, ::Vec3 const &position, float searchDistance, int count)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertItemEntityPresent (::std::variant<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > itemTypeOrId, ::Vec3 const &position, float searchDistance, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > assertRedstonePower (::Vec3 const &position, int power)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > destroyBlock (::Vec3 const &position, bool dropResources)
MCAPI ::Scripting::Result_deprecated< void > fail (::std::string const &error)
MCAPI ::Scripting::Result_deprecated< void > failIf (::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > getBlock (::Vec3 const &position)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptDimension >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > getDimension () const
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestConnectivity >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > getFenceConnectivity (::Vec3 const &relativePos)
MCAPI ::Scripting::Result< ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleGameTest::ScriptSculkSpreader > >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > getSculkSpreader (::Vec3 const &relativePos)
MCAPI ::Scripting::Result<::ScriptModuleMinecraft::ScriptFacing, ::gametest::GameTestCompletedError > getTestDirection () const
MCAPI ::Scripting::Result<::Scripting::Promise< void, ::Scripting::Error >, ::gametest::GameTestCompletedError > idle (::Scripting::ScriptObjectFactory &factory, int tickDelay)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > killAllEntities ()
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > onPlayerJump (::ScriptModuleMinecraft::ScriptActor &mob, int jumpAmount)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > pressButton (::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > print (::std::string const &text)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > pullLever (::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > pulseRedstone (::Vec3 const &position, int duration)
MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > relativeBlockPosition (::Vec3 const &worldPos) const
MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > relativePosition (::Vec3 const &worldPos) const
MCAPI ::Scripting::Result< void, ::gametest::GameTestCompletedError > removeSimulatedPlayer (::ScriptModuleGameTest::ScriptSimulatedPlayer const &scriptSimulatedPlayer)
MCAPI ::Scripting::Result<::ScriptModuleMinecraft::ScriptFacing, ::gametest::GameTestError, ::gametest::GameTestCompletedError > rotateDirection (::ScriptModuleMinecraft::ScriptFacing direction) const
MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > rotateVector (::Vec3 const &scriptVector) const
MCAPI ::Scripting::Result_deprecated< void > runAfterDelay (int ticksToDelay, ::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result_deprecated< void > runAtTickTime (int tickTime, ::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > runOnFinish (::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > setBlockPermutation (::ScriptModuleMinecraft::ScriptBlockPermutation const &block, ::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > setBlockType (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const &block, ::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > setFluidContainer (::Vec3 const &position, ::ScriptModuleMinecraft::ScriptFluidType type)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > setTntFuse (::ScriptModuleMinecraft::ScriptActor &tnt, int fuseLength)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawn (::std::string const &entityIdentifier, ::Vec3 const &position)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawnAtLocation (::std::string const &entityIdentifier, ::Vec3 const &position)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawnItem (::ScriptModuleMinecraft::ScriptItemStack const &item, ::Vec3 const &position)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleGameTest::ScriptSimulatedPlayer >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawnSimulatedPlayer (::Vec3 const &position, ::std::string const &name, ::GameType gameMode)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawnWithoutBehaviors (::std::string const &entityIdentifier, ::Vec3 const &position)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spawnWithoutBehaviorsAtLocation (::std::string const &entityIdentifier, ::Vec3 const &position)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > spreadFromFaceTowardDirection (::Vec3 const &pos, ::ScriptModuleMinecraft::ScriptFacing fromFace, ::ScriptModuleMinecraft::ScriptFacing direction)
MCAPI ::Scripting::Result< ::Scripting::WeakTypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestSequence >, ::gametest::GameTestCompletedError > startSequence ()
MCAPI ::Scripting::Result_deprecated< void > succeed ()
MCAPI ::Scripting::Result_deprecated< void > succeedIf (::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result_deprecated< void > succeedOnTick (int tick)
MCAPI ::Scripting::Result_deprecated< void > succeedOnTickWhen (int tick, ::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result_deprecated< void > succeedWhen (::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > succeedWhenBlockPresent (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const &block, ::Vec3 const &position, bool isPresent)
MCAPI ::Scripting::Result_deprecated< void > succeedWhenEntityHasComponent (::std::string const &actorIdentifier, ::std::string const &componentName, ::Vec3 const &position, bool hasComponent)
MCAPI ::Scripting::Result_deprecated< void > succeedWhenEntityPresent (::std::string const &entityIdentifier, ::Vec3 const &position, bool isPresent)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > triggerInternalBlockEvent (::Vec3 const &pos, ::std::string const &event, ::std::vector< float > const &parameters)
MCAPI ::Scripting::Result<::Scripting::Promise< void, ::Scripting::Error >, ::gametest::GameTestCompletedError > until (::Scripting::ScriptObjectFactory &factory, ::Scripting::Closure< void()> fn)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > walkTo (::ScriptModuleMinecraft::ScriptActor &mob, ::Vec3 const &position, float speedModifier)
MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > walkToLocation (::ScriptModuleMinecraft::ScriptActor &mob, ::Vec3 const &position, float speedModifier)
MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > worldBlockPosition (::Vec3 const &relativePos) const
MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > worldPosition (::Vec3 const &relativePos) const

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()

Public Attributes

::ll::TypedStorage< 8, 8, ::gametest::BaseGameTestHelper & > mTestHelper
::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper > > mScriptHandle
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ScriptModuleGameTest::ScriptGameTestSequence > > > mSequences

Member Function Documentation

◆ _getBlockFromVariant()

MCAPI ::std::optional<::BlockType const * > ScriptModuleGameTest::ScriptGameTestHelper::_getBlockFromVariant ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const & block)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertBlockState()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertBlockState ( ::Vec3 const & position,
::Scripting::Closure< bool(::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock >)> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertBlockTypePresent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertBlockTypePresent ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const & block,
::Vec3 const & position,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertCanReachLocation()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertCanReachLocation ( ::ScriptModuleMinecraft::ScriptActor & mob,
::Vec3 const & position,
bool canReach )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertCondition()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertCondition ( bool condition,
::std::string const & message )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertContainerContains()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertContainerContains ( ::ScriptModuleMinecraft::ScriptItemStack const & item,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertContainerEmpty()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertContainerEmpty ( ::Vec3 const & position)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityHasArmor()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityHasArmor ( ::std::string const & actorIdentifier,
int armorSlot,
::std::string const & armorName,
int dataValue,
::Vec3 const & position,
bool hasArmor )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityHasComponent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityHasComponent ( ::std::string const & actorIdentifier,
::std::string const & componentIdentifier,
::Vec3 const & position,
bool hasComponent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityInstancePresent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityInstancePresent ( ::ScriptModuleMinecraft::ScriptActor const & scriptActor,
::Vec3 const & position,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityInstancePresentInArea()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityInstancePresentInArea ( ::ScriptModuleMinecraft::ScriptActor const & scriptActor,
bool isPresent ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityPresent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityPresent ( ::std::string const & entityIdentifier,
::Vec3 const & position,
float distance,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityPresentInArea()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityPresentInArea ( ::std::string const & entityIdentifier,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityState()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityState ( ::Vec3 const & position,
::std::string const & entityIdentifier,
::Scripting::Closure< bool(::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >)> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertEntityTouching()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertEntityTouching ( ::std::string const & entityIdentifier,
::Vec3 const & position,
bool isTouching )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertIsWaterlogged()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertIsWaterlogged ( ::Vec3 const & position,
bool isWaterlogged )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertItemEntityCountIs()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertItemEntityCountIs ( ::std::variant<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > itemTypeOrId,
::Vec3 const & position,
float searchDistance,
int count )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertItemEntityPresent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertItemEntityPresent ( ::std::variant<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > itemTypeOrId,
::Vec3 const & position,
float searchDistance,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ assertRedstonePower()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::assertRedstonePower ( ::Vec3 const & position,
int power )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyBlock()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::destroyBlock ( ::Vec3 const & position,
bool dropResources )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fail()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::fail ( ::std::string const & error)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ failIf()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::failIf ( ::Scripting::Closure< void()> fn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getBlock()

Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getDimension()

Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getFenceConnectivity()

Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getSculkSpreader()

MCAPI ::Scripting::Result< ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleGameTest::ScriptSculkSpreader > >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::getSculkSpreader ( ::Vec3 const & relativePos)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getTestDirection()

MCAPI ::Scripting::Result<::ScriptModuleMinecraft::ScriptFacing, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::getTestDirection ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ idle()

MCAPI ::Scripting::Result<::Scripting::Promise< void, ::Scripting::Error >, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::idle ( ::Scripting::ScriptObjectFactory & factory,
int tickDelay )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ killAllEntities()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::killAllEntities ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onPlayerJump()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::onPlayerJump ( ::ScriptModuleMinecraft::ScriptActor & mob,
int jumpAmount )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pressButton()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::pressButton ( ::Vec3 const & position)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ print()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::print ( ::std::string const & text)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pullLever()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::pullLever ( ::Vec3 const & position)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pulseRedstone()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::pulseRedstone ( ::Vec3 const & position,
int duration )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ relativeBlockPosition()

MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::relativeBlockPosition ( ::Vec3 const & worldPos) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ relativePosition()

MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::relativePosition ( ::Vec3 const & worldPos) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ removeSimulatedPlayer()

MCAPI ::Scripting::Result< void, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::removeSimulatedPlayer ( ::ScriptModuleGameTest::ScriptSimulatedPlayer const & scriptSimulatedPlayer)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ rotateDirection()

MCAPI ::Scripting::Result<::ScriptModuleMinecraft::ScriptFacing, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::rotateDirection ( ::ScriptModuleMinecraft::ScriptFacing direction) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ rotateVector()

MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::rotateVector ( ::Vec3 const & scriptVector) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ runAfterDelay()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::runAfterDelay ( int ticksToDelay,
::Scripting::Closure< void()> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ runAtTickTime()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::runAtTickTime ( int tickTime,
::Scripting::Closure< void()> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ runOnFinish()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::runOnFinish ( ::Scripting::Closure< void()> fn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setBlockPermutation()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::setBlockPermutation ( ::ScriptModuleMinecraft::ScriptBlockPermutation const & block,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setBlockType()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::setBlockType ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const & block,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setFluidContainer()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::setFluidContainer ( ::Vec3 const & position,
::ScriptModuleMinecraft::ScriptFluidType type )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setTntFuse()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::setTntFuse ( ::ScriptModuleMinecraft::ScriptActor & tnt,
int fuseLength )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawn()

MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spawn ( ::std::string const & entityIdentifier,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawnAtLocation()

MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spawnAtLocation ( ::std::string const & entityIdentifier,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawnItem()

Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawnSimulatedPlayer()

MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleGameTest::ScriptSimulatedPlayer >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spawnSimulatedPlayer ( ::Vec3 const & position,
::std::string const & name,
::GameType gameMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawnWithoutBehaviors()

MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spawnWithoutBehaviors ( ::std::string const & entityIdentifier,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spawnWithoutBehaviorsAtLocation()

MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spawnWithoutBehaviorsAtLocation ( ::std::string const & entityIdentifier,
::Vec3 const & position )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ spreadFromFaceTowardDirection()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::spreadFromFaceTowardDirection ( ::Vec3 const & pos,
::ScriptModuleMinecraft::ScriptFacing fromFace,
::ScriptModuleMinecraft::ScriptFacing direction )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ startSequence()

Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeed()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeed ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedIf()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedIf ( ::Scripting::Closure< void()> fn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedOnTick()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedOnTick ( int tick)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedOnTickWhen()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedOnTickWhen ( int tick,
::Scripting::Closure< void()> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedWhen()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedWhen ( ::Scripting::Closure< void()> fn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedWhenBlockPresent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::succeedWhenBlockPresent ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType >, ::std::string > const & block,
::Vec3 const & position,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedWhenEntityHasComponent()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedWhenEntityHasComponent ( ::std::string const & actorIdentifier,
::std::string const & componentName,
::Vec3 const & position,
bool hasComponent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ succeedWhenEntityPresent()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleGameTest::ScriptGameTestHelper::succeedWhenEntityPresent ( ::std::string const & entityIdentifier,
::Vec3 const & position,
bool isPresent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ triggerInternalBlockEvent()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::triggerInternalBlockEvent ( ::Vec3 const & pos,
::std::string const & event,
::std::vector< float > const & parameters )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ until()

MCAPI ::Scripting::Result<::Scripting::Promise< void, ::Scripting::Error >, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::until ( ::Scripting::ScriptObjectFactory & factory,
::Scripting::Closure< void()> fn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ walkTo()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::walkTo ( ::ScriptModuleMinecraft::ScriptActor & mob,
::Vec3 const & position,
float speedModifier )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ walkToLocation()

MCAPI ::Scripting::Result< void, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::walkToLocation ( ::ScriptModuleMinecraft::ScriptActor & mob,
::Vec3 const & position,
float speedModifier )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ worldBlockPosition()

MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::worldBlockPosition ( ::Vec3 const & relativePos) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ worldPosition()

MCAPI ::Scripting::Result<::Vec3, ::gametest::GameTestError, ::gametest::GameTestCompletedError > ScriptModuleGameTest::ScriptGameTestHelper::worldPosition ( ::Vec3 const & relativePos) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleGameTest::ScriptGameTestHelper::bind ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: