LeviLamina
Loading...
Searching...
No Matches
Experiments.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/AllExperiments.h"
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 // member functions
17 // NOLINTBEGIN
18 MCAPI bool BetaApis() const;
19
20 MCAPI bool CustomProjectiles() const;
21
22 MCAPI bool ExperimentalCreatorCameras() const;
23
24 MCAPI Experiments();
25
26#ifdef LL_PLAT_C
27 MCAPI bool FurnaceRecipeBook() const;
28#endif
29
30 MCAPI bool UpcomingCreatorFeatures() const;
31
32 MCAPI bool VillagerTradesRebalance() const;
33
34 MCAPI bool VoxelShapes() const;
35
36 MCAPI bool Y2026Drop2() const;
37
38#ifdef LL_PLAT_C
39 MCAPI bool _shouldShowAsExperimentalLevel(
40 ::std::vector<bool> const& experimentData,
41 ::gsl::span<::std::string const> toggleNames
42 ) const;
43#endif
44
45 MCAPI ::std::string getExperimentsActiveAsJSONList() const;
46
47 MCAPI ::std::vector<::std::string> getExperimentsActiveForTelemetry() const;
48
49 MCAPI void getTagData(::CompoundTag const& tag);
50
51 MCAPI bool isExperimentEnabled(::AllExperiments experiment) const;
52
53 MCAPI void setExperimentEnabled(::AllExperiments experiment, bool value);
54
55 MCAPI void setTagData(::CompoundTag& tag) const;
56
57#ifdef LL_PLAT_C
58 MCAPI bool shouldShowAsExperimentalLevel() const;
59#endif
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::std::string const& getExperimentTextID(::AllExperiments experiment);
66
67#ifdef LL_PLAT_S
68 MCAPI static int getIndexForExperiment(::AllExperiments experiment);
69#endif
70
71 MCAPI static ::gsl::span<::std::string const> getToggleNames();
72
73#ifdef LL_PLAT_C
74 MCAPI static ::gsl::span<::std::string const> getToggleTextIds();
75#endif
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor();
82 // NOLINTEND
83};
Definition CompoundTag.h:23