66    virtual void succeedWhenEntityHasComponent(
 
   74    virtual void succeedWhenBlockPresent(
::Block const&, 
int, 
int, 
int, 
bool) = 0;
 
   77    virtual void succeedWhenBlockPresent(
::Block const&, 
::BlockPos const&, 
bool) = 0;
 
   83    virtual void setNight() = 0;
 
   86    virtual void setDayTime(
int) = 0;
 
   89    virtual ::std::optional<::gametest::GameTestError> setBlock(
int, 
int, 
int, 
::Block const&, 
int) = 0;
 
   92    virtual ::std::optional<::gametest::GameTestError> setBlock(
::BlockPos const&, 
::Block const&, 
int) = 0;
 
   95    virtual ::std::optional<::gametest::GameTestError> destroyBlock(
::BlockPos const&, 
bool) = 0;
 
   98    virtual ::std::optional<::gametest::GameTestError> pressButton(
int, 
int, 
int) = 0;
 
  101    virtual ::std::optional<::gametest::GameTestError> pressButton(
::BlockPos const&) = 0;
 
  104    virtual ::std::optional<::gametest::GameTestError> pullLever(
int, 
int, 
int) = 0;
 
  107    virtual ::std::optional<::gametest::GameTestError> pullLever(
::BlockPos const&) = 0;
 
  110    virtual ::std::optional<::gametest::GameTestError> killAllEntities() = 0;
 
  113    virtual ::std::variant<::gametest::GameTestError, ::Actor*>
 
  117    virtual ::std::variant<::gametest::GameTestError, ::Actor*>
 
  121    virtual ::std::variant<::gametest::GameTestError, ::Actor*>
 
  125    virtual ::std::variant<::gametest::GameTestError, ::Actor*> spawnItem(
::ItemStack const&, 
::Vec3 const&) = 0;
 
  128    virtual ::std::variant<::gametest::GameTestError, ::Actor*>
 
  132    virtual ::std::variant<::gametest::GameTestError, ::Actor*>
 
  136    virtual ::std::optional<::gametest::GameTestError> walkTo(
::Mob&, 
::BlockPos const&, 
float) = 0;
 
  139    virtual ::std::optional<::gametest::GameTestError> walkTo(
::Mob&, 
::Vec3 const&, 
float) = 0;
 
  142    virtual ::std::optional<::gametest::GameTestError> setTntFuse(
::Actor&, 
int) = 0;
 
  145    virtual ::std::optional<::gametest::GameTestError>
 
  149    virtual ::std::optional<::gametest::GameTestError>
 
  153    virtual ::std::optional<::gametest::GameTestError>
 
  157    virtual ::std::optional<::gametest::GameTestError>
 
  161    virtual ::std::optional<::gametest::GameTestError>
 
  165    virtual ::std::optional<::gametest::GameTestError> assertEntityInstancePresent(
::Actor const*, 
bool) 
const = 0;
 
  168    virtual ::std::optional<::gametest::GameTestError>
 
  172    virtual ::std::optional<::gametest::GameTestError>
 
  176    virtual ::std::optional<::gametest::GameTestError> assertBlockPresent(
::BlockType const&, 
int, 
int, 
int, 
bool) = 0;
 
  179    virtual ::std::optional<::gametest::GameTestError>
 
  183    virtual ::std::optional<::gametest::GameTestError>
 
  187    virtual ::std::optional<::gametest::GameTestError>
 
  188    assertItemEntityPresent(
::Item const&, 
int, 
int, 
int, 
float, 
bool) = 0;
 
  191    virtual ::std::optional<::gametest::GameTestError>
 
  195    virtual ::std::optional<::gametest::GameTestError>
 
  199    virtual ::std::optional<::gametest::GameTestError> assertContainerEmpty(
::BlockPos const&) = 0;
 
  202    virtual ::std::optional<::gametest::GameTestError>
 
  206    virtual ::std::optional<::gametest::GameTestError>
 
  210    virtual ::std::optional<::gametest::GameTestError> assertEntityHasArmor(
 
  212        ::SharedTypes::Legacy::ArmorSlot,
 
  213        ::std::string 
const&,
 
  220    virtual ::std::optional<::gametest::GameTestError> print(::std::string 
const&) = 0;
 
  223    virtual ::std::optional<::gametest::GameTestError> assertRedstonePower(
::BlockPos const&, 
int) = 0;
 
  226    virtual ::std::optional<::gametest::GameTestError> assertIsWaterlogged(
::BlockPos const&, 
bool) = 0;
 
  229    virtual ::std::optional<::gametest::GameTestError> pulseRedstone(
::BlockPos const&, 
int) = 0;
 
  232    virtual ::std::variant<::gametest::GameTestError, ::ScriptModuleGameTest::ScriptGameTestConnectivity>
 
  236    virtual ::std::variant<::gametest::GameTestError, ::BlockPos> worldPosition(
::BlockPos const&) 
const = 0;
 
  239    virtual ::std::variant<::gametest::GameTestError, ::Vec3> worldPosition(
::Vec3 const&) 
const = 0;
 
  242    virtual ::std::variant<::gametest::GameTestError, ::BlockPos> relativePosition(
::BlockPos const&) 
const = 0;
 
  245    virtual ::std::variant<::gametest::GameTestError, ::Vec3> relativePosition(
::Vec3 const&) 
const = 0;
 
  248    virtual ::std::optional<::gametest::GameTestError> setFluidContainer(
::BlockPos const&, 
int) = 0;
 
  251    virtual ::std::optional<::gametest::GameTestError>
 
  252    triggerInternalBlockEvent(
::BlockPos const&, ::std::string 
const&, ::std::vector<float> 
const&) = 0;
 
  255    virtual ::std::optional<::gametest::GameTestError> assertCanReachLocation(
::Mob&, 
::BlockPos const&, 
bool) = 0;
 
  258    virtual ::std::optional<::gametest::GameTestError> spreadFromFaceTowardDirection(
 
  260        ::ScriptModuleMinecraft::ScriptFacing,
 
  261        ::ScriptModuleMinecraft::ScriptFacing
 
  265    virtual ::std::variant<::gametest::GameTestError, ::SimulatedPlayer*>
 
  266    spawnSimulatedPlayer(::std::string 
const&, 
::BlockPos const&, ::GameType) = 0;
 
  272    virtual ::std::variant<::gametest::GameTestError, ::Dimension*> getDimension() = 0;
 
  275    virtual ::std::optional<::gametest::GameTestError> getBlockSource(
::BlockSource*&) = 0;
 
  278    virtual ::std::optional<::gametest::GameTestError> onPlayerJump(
::Mob&, 
int) = 0;
 
  286    MCNAPI 
void failIf(::std::function<::std::optional<::gametest::GameTestError>()> fn);
 
  289        ::gametest::GameTestErrorType errorType,
 
  290        ::std::string                 message,
 
  295        ::gametest::GameTestErrorType errorType,
 
  296        ::std::string                 message,
 
  297        ::std::vector<::std::string>  params,
 
  301    MCNAPI ::std::variant<::gametest::GameTestError, uchar> 
rotateDirection(uchar direction) 
const;
 
  303    MCNAPI 
void runAfterDelay(
int ticksToDelay, ::std::function<::std::optional<::gametest::GameTestError>()> fn);
 
  305    MCNAPI 
void runAtTickTime(
int tickTime, ::std::function<::std::optional<::gametest::GameTestError>()> fn);
 
  307    MCNAPI 
void succeedWhen(::std::function<::std::optional<::gametest::GameTestError>()> fn);
 
  310        ::std::function<::std::optional<::gametest::GameTestError>()> testFn,
 
  311        ::std::function<::std::optional<::gametest::GameTestError>()> doneFn