Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Experiments.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/storage/AllExperiments.h"
5
6// auto generated inclusion list
7#include "mc/world/level/storage/ExperimentStorage.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12// clang-format on
13
14class Experiments : public ::ExperimentStorage {
15public:
16 LLNDAPI bool isExperimentEnabled(AllExperiments experiment) const;
17
18public:
19 // member functions
20 // NOLINTBEGIN
21 MCNAPI Experiments();
22
23#ifdef LL_PLAT_C
24 MCNAPI bool _shouldShowAsExperimentalLevel(
25 ::std::vector<bool> const& experimentData,
26 ::gsl::span<::std::string const> toggleNames
27 ) const;
28#endif
29
30 MCNAPI ::std::string getExperimentsActiveAsJSONList() const;
31
32 MCNAPI void getTagData(::CompoundTag const& tag);
33
34 MCNAPI void setTagData(::CompoundTag& tag) const;
35
36#ifdef LL_PLAT_C
37 MCNAPI bool shouldShowAsExperimentalLevel() const;
38#endif
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCNAPI void* $ctor();
45 // NOLINTEND
46};
Definition CompoundTag.h:18
MCAPI Experiments()
MCAPI void * $ctor()
MCAPI void getTagData(::CompoundTag const &tag)
MCAPI void setTagData(::CompoundTag &tag) const
MCAPI::std::string getExperimentsActiveAsJSONList() const