LeviLamina
Loading...
Searching...
No Matches
gametest::BaseGameTestHelper Class Referenceabstract
+ Inheritance diagram for gametest::BaseGameTestHelper:

Public Member Functions

BaseGameTestHelperoperator= (BaseGameTestHelper const &)
 
 BaseGameTestHelper (BaseGameTestHelper const &)
 
virtual void succeedWhenEntityPresent (::ActorDefinitionIdentifier const &, int, int, int, bool)=0
 
virtual void succeedWhenEntityPresent (::ActorDefinitionIdentifier const &, ::BlockPos const &, bool)=0
 
virtual void succeedWhenEntityData (::BlockPos const &, ::ActorDefinitionIdentifier const &, ::std::function< bool(::Actor &)>)=0
 
virtual void succeedWhenEntityHasComponent (::ActorDefinitionIdentifier const &, ::std::string const &, ::BlockPos const &, bool)=0
 
virtual void succeedWhenBlockPresent (::Block const &, int, int, int, bool)=0
 
virtual void succeedWhenBlockPresent (::Block const &, ::BlockPos const &, bool)=0
 
virtual void succeedWhenBlockPresent (::BlockLegacy const &, ::BlockPos const &, bool)=0
 
virtual void setNight ()=0
 
virtual void setDayTime (int)=0
 
virtual ::std::optional<::gametest::GameTestErrorsetBlock (int, int, int, ::Block const &, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorsetBlock (::BlockPos const &, ::Block const &, int)=0
 
virtual ::std::optional<::gametest::GameTestErrordestroyBlock (::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorpressButton (int, int, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorpressButton (::BlockPos const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorpullLever (int, int, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorpullLever (::BlockPos const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorkillAllEntities ()=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawn (::ActorDefinitionIdentifier const &, int, int, int)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawn (::ActorDefinitionIdentifier const &, ::BlockPos const &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawn (::ActorDefinitionIdentifier const &, ::Vec3 const &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawnItem (::ItemStack const &, ::Vec3 const &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawnWithoutBehaviors (::ActorDefinitionIdentifier const &, ::BlockPos const &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Actor * > spawnWithoutBehaviors (::ActorDefinitionIdentifier const &, ::Vec3 const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorwalkTo (::Mob &, ::BlockPos const &, float)=0
 
virtual ::std::optional<::gametest::GameTestErrorwalkTo (::Mob &, ::Vec3 const &, float)=0
 
virtual ::std::optional<::gametest::GameTestErrorsetTntFuse (::Actor &, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityPresent (::ActorDefinitionIdentifier const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityPresent (::ActorDefinitionIdentifier const &, int, int, int, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityPresent (::ActorDefinitionIdentifier const &, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityPresent (::ActorDefinitionIdentifier const &, ::BlockPos const &, float const, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityInstancePresent (::Actor const *, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityInstancePresent (::Actor const *, bool) const =0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityTouching (::ActorDefinitionIdentifier const &, ::Vec3 const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityState (::BlockPos const &, ::ActorDefinitionIdentifier const &, ::std::function< bool(::Actor &)>)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertBlockPresent (::BlockLegacy const &, int, int, int, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertBlockPresent (::BlockLegacy const &, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertBlockState (::BlockPos const &, ::std::function< bool(::Block const &)>)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertItemEntityPresent (::Item const &, int, int, int, float, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertItemEntityPresent (::Item const &, ::BlockPos const &, float, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertItemEntityCountIs (::Item const &, ::BlockPos const &, float, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertContainerEmpty (::BlockPos const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertContainerContains (::ItemStack const &, ::BlockPos const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityHasComponent (::ActorDefinitionIdentifier const &, ::std::string const &, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertEntityHasArmor (::ActorDefinitionIdentifier const &, ::SharedTypes::Legacy::ArmorSlot, ::std::string const &, int, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorprint (::std::string const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertRedstonePower (::BlockPos const &, int)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertIsWaterlogged (::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorpulseRedstone (::BlockPos const &, int)=0
 
virtual ::std::variant<::gametest::GameTestError, ::ScriptModuleGameTest::ScriptGameTestConnectivitygetFenceConnectivity (::BlockPos const &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::BlockPosworldPosition (::BlockPos const &) const =0
 
virtual ::std::variant<::gametest::GameTestError, ::Vec3worldPosition (::Vec3 const &) const =0
 
virtual ::std::variant<::gametest::GameTestError, ::BlockPosrelativePosition (::BlockPos const &) const =0
 
virtual ::std::variant<::gametest::GameTestError, ::Vec3relativePosition (::Vec3 const &) const =0
 
virtual ::std::optional<::gametest::GameTestErrorsetFluidContainer (::BlockPos const &, int)=0
 
virtual ::std::optional<::gametest::GameTestErrortriggerInternalBlockEvent (::BlockPos const &, ::std::string const &, ::std::vector< float > const &)=0
 
virtual ::std::optional<::gametest::GameTestErrorassertCanReachLocation (::Mob &, ::BlockPos const &, bool)=0
 
virtual ::std::optional<::gametest::GameTestErrorspreadFromFaceTowardDirection (::BlockPos const &, ::ScriptModuleMinecraft::ScriptFacing, ::ScriptModuleMinecraft::ScriptFacing)=0
 
virtual ::std::variant<::gametest::GameTestError, ::SimulatedPlayer * > spawnSimulatedPlayer (::std::string const &, ::BlockPos const &, ::GameType)=0
 
virtual void removeSimulatedPlayer (::SimulatedPlayer &)=0
 
virtual ::std::variant<::gametest::GameTestError, ::Dimension * > getDimension ()=0
 
virtual ::std::optional<::gametest::GameTestErrorgetBlockSource (::BlockSource *&)=0
 
virtual ::std::optional<::gametest::GameTestErroronPlayerJump (::Mob &, int)=0
 
MCAPI::Vec3 _absoluteVec (::Vec3 const &relativeVec) const
 
MCAPI ::std::optional<::gametest::GameTestErrorassertCondition (bool condition, ::std::string const &message)
 
MCAPI void failIf (::std::function<::std::optional<::gametest::GameTestError >()> fn)
 
MCAPI::gametest::GameTestError generateErrorWithContext (::gametest::GameTestErrorType message, ::std::string relativePos, ::BlockPos const &errorType) const
 
MCAPI::gametest::GameTestError generateErrorWithContext (::gametest::GameTestErrorType errorType, ::std::string message, ::std::vector<::std::string > params, ::BlockPos const &relativePos) const
 
MCAPI ::std::variant<::gametest::GameTestError, uchar > rotateDirection (uchar direction) const
 
MCAPI void runAfterDelay (int ticksToDelay, ::std::function<::std::optional<::gametest::GameTestError >()> fn)
 
MCAPI void runAtTickTime (int tickTime, ::std::function<::std::optional<::gametest::GameTestError >()> fn)
 
MCAPI void succeedWhen (::std::function<::std::optional<::gametest::GameTestError >()> fn)
 
MCAPI void until (::std::function<::std::optional<::gametest::GameTestError >()> testFn, ::std::function<::std::optional<::gametest::GameTestError >()> doneFn)
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 
MCFOLD void $dtor ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnke35c4d
 
::ll::UntypedStorage< 4, 4 > mUnkc5acb7
 
::ll::UntypedStorage< 4, 4 > mUnkb12e2a
 
::ll::UntypedStorage< 4, 4 > mUnkdc6962
 
::ll::UntypedStorage< 1, 1 > mUnka5d88f
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

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