60 using ValueTypeID = uint64;
62 using EnumValueID = uint64;
66 using SoftEnumID = uint;
68 using ChainedSubcommandValueID = uint64;
70 using ChainedSubcommandID = uint;
72 using SemanticConstraintID = uchar;
74 using ConstrainedValueID = uint;
76 using ConstrainedValueLookupKey = ::std::pair<uint64, uint>;
78 using CustomStorageGetFn =
void* (*)(
::Command*,
int);
80 using CustomStorageIsSetFn =
bool* (*)(
::Command*,
int);
82 using CommandOverrideFunctor =
83 ::std::function<void(::std::string
const&,
::CommandFlag&, ::CommandPermissionLevel&)>;
85 using ScoreboardScoreAccessor = ::std::function<int(
bool&, ::std::string
const&,
::Actor const&)>;
87 using HardTerminal = ::CommandLexer::TokenType;
89 enum class HardNonTerminal :
int {
95 WildcardInt = 1048581,
97 CompareOperator = 1048583,
99 StandaloneSelection = 1048585,
100 WildcardSelection = 1048586,
101 NonIdSelector = 1048587,
103 ScoresArgs = 1048589,
104 ScoreSelectParam = 1048590,
105 ScoreSelector = 1048591,
106 TagSelector = 1048592,
108 FilePathVal = 1048594,
109 FilePathCont = 1048595,
110 IntegerRangeVal = 1048596,
111 IntegerRangePostVal = 1048597,
112 IntegerRange = 1048598,
113 FullIntegerRange = 1048599,
114 RationalRangeVal = 1048600,
115 RationalRangePostVal = 1048601,
116 RationalRange = 1048602,
117 FullRationalRange = 1048603,
126 HasPermissionArg = 1048612,
127 HasPermissionArgs = 1048613,
128 HasPermissionSelector = 1048614,
129 HasPermissionElement = 1048615,
130 HasPermissionElements = 1048616,
132 HasItemElement = 1048618,
133 HasItemElements = 1048619,
134 HasItemArg = 1048620,
135 HasItemArgs = 1048621,
136 HasItemSelector = 1048622,
137 EquipmentSlotEnum = 1048623,
138 PropertyValue = 1048624,
139 HasPropertyParamValue = 1048625,
140 HasPropertyParamEnumValue = 1048626,
141 HasPropertyArg = 1048627,
142 HasPropertyArgs = 1048628,
143 HasPropertyElement = 1048629,
144 HasPropertyElements = 1048630,
145 HasPropertySelector = 1048631,
151 CoordXFloat = 1048637,
152 CoordYFloat = 1048638,
153 CoordZFloat = 1048639,
155 PositionFloat = 1048641,
156 MessageExp = 1048642,
158 MessageRoot = 1048644,
159 PostSelector = 1048645,
161 RawTextCont = 1048647,
164 JsonObject = 1048650,
165 JsonObjectFields = 1048651,
166 JsonObjectCont = 1048652,
168 JsonArrayValues = 1048654,
169 JsonArrayCont = 1048655,
171 BlockStateKey = 1048657,
172 BlockStateValue = 1048658,
173 BlockStateValues = 1048659,
174 BlockStateArray = 1048660,
175 BlockStateArrayCont = 1048661,
177 SlashCommand = 1048663,
178 CodeBuilderArg = 1048664,
179 CodeBuilderArgs = 1048665,
180 CodeBuilderSelectParam = 1048666,
181 CodeBuilderSelector = 1048667,
188 ::ll::TypedStorage<4, 4, int> mValue;
194 MCAPI
bool isTerminal()
const;
206 using SymbolVector = ::std::vector<::CommandRegistry::Symbol>;
209 ::entt::dense_set<::CommandRegistry::Symbol, ::CommandRegistry::SymbolHasher, ::std::equal_to<void>>;
211 using ParseMap = ::std::map<
213 ::entt::dense_set<::CommandRegistry::Symbol, ::CommandRegistry::SymbolHasher, ::std::equal_to<void>>>;
223 ::ll::TypedStorage<4, 8, ::CommandVersion> version;
224 ::ll::TypedStorage<8, 64, ::brstd::copyable_function<::std::unique_ptr<::Command>()
const>> alloc;
225 ::ll::TypedStorage<8, 24, ::std::vector<::CommandParameterData>> params;
226 ::ll::TypedStorage<4, 4, int> versionOffset;
227 ::ll::TypedStorage<1, 1, bool> isChaining;
228 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Symbol>> paramsSymbol;
236 ::ll::TypedStorage<8, 32, ::std::string> name;
237 ::ll::TypedStorage<8, 32, ::std::string> description;
238 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Overload>> overloads;
239 ::ll::TypedStorage<8, 24, ::std::vector<uint>> chainedSubcommandIndexes;
240 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> permissionLevel;
241 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> commandSymbol;
242 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> commandAliasEnum;
243 ::ll::TypedStorage<2, 2, ::CommandFlag> flags;
244 ::ll::TypedStorage<4, 4, int> firstRule;
245 ::ll::TypedStorage<4, 4, int> firstFactorization;
246 ::ll::TypedStorage<4, 4, int> firstOptional;
247 ::ll::TypedStorage<1, 1, bool> runnable;
248 ::ll::TypedStorage<8, 8, uint64> ruleCounter;
282 ::ll::TypedStorage<8, 8, char const*> mText;
283 ::ll::TypedStorage<4, 4, uint> mLength;
284 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> mType;
285 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> mIdentifierInfo;
286 ::ll::TypedStorage<8, 8, ::CommandRegistry const&> mRegistry;
306 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRegistry::ParseToken>> child;
307 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRegistry::ParseToken>> next;
308 ::ll::TypedStorage<8, 8, ::CommandRegistry::ParseToken*> parent;
309 ::ll::TypedStorage<8, 8, char const*> text;
310 ::ll::TypedStorage<4, 4, uint> length;
311 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> type;
317 MCAPI ::std::string toString()
const;
321 using ProcessFunction =
328 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> nonTerminal;
334 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Symbol>> derivation;
335 ::ll::TypedStorage<4, 8, ::CommandVersion> versions;
351 using RuleIndex = int;
357 ::ll::TypedStorage<4, 4, int> parameterCount;
358 ::ll::TypedStorage<4, 4, int> followingRuleIndex;
359 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> paramSymbol;
367 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> commandSymbol;
377 ::std::vector<::std::string>&
380 using EnumConversionFunction = ::std::function<void(
void*, uint64)>;
386 ::ll::TypedStorage<8, 32, ::std::string> name;
387 ::ll::TypedStorage<2, 2, ::Bedrock::typeid_t<::CommandRegistry>> type;
397 ::std::vector<::std::string>&
400 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<uint64, uint64>>> values;
416 using ChainedSubcommandConversionFunction = ::std::function<void(
void*, uint64)>;
422 ::ll::TypedStorage<8, 32, ::std::string> name;
423 ::ll::TypedStorage<2, 2, ::Bedrock::typeid_t<::CommandRegistry>> type;
433 ::std::vector<::std::string>&
436 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<uint64, uint>>> values;
456 ::ll::TypedStorage<8, 32, ::std::string> mName;
457 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mValues;
465 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> mValue;
466 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> mEnum;
467 ::ll::TypedStorage<8, 24, ::std::vector<uchar>> mConstraints;
475 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> x;
476 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> y;
477 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> z;
478 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> dx;
479 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> dy;
480 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> dz;
481 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> r;
482 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> rm;
483 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> rx;
484 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> rxm;
485 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> ry;
486 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> rym;
487 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> l;
488 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> lm;
489 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> c;
490 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> m;
491 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> name;
492 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> type;
493 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> family;
494 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> score;
495 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> tag;
496 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> hasitem;
497 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> haspermission;
498 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> hasproperty;
499 ::ll::TypedStorage<4, 4, ::CommandRegistry::Symbol> codebuilder;
519 ::ll::TypedStorage<4, 4, uint> signatureCount;
520 ::ll::TypedStorage<4, 4, uint> enumValueCount;
521 ::ll::TypedStorage<4, 4, uint> postfixCount;
522 ::ll::TypedStorage<4, 4, uint> enumCount;
523 ::ll::TypedStorage<4, 4, uint> enumLookupCount;
524 ::ll::TypedStorage<4, 4, uint> typeLookupCount;
525 ::ll::TypedStorage<4, 4, uint> factorizationCount;
526 ::ll::TypedStorage<4, 4, uint> optionalCount;
527 ::ll::TypedStorage<4, 4, uint> ruleCount;
528 ::ll::TypedStorage<4, 4, uint> softEnumCount;
529 ::ll::TypedStorage<4, 4, uint> constraintCount;
530 ::ll::TypedStorage<4, 4, uint> chainedSubcommandCount;
531 ::ll::TypedStorage<4, 4, uint> chainedSubcommandValueCount;
532 ::ll::TypedStorage<8, 24, ::std::vector<uint>> enumValuesCount;
533 ::ll::TypedStorage<8, 24, ::std::vector<uint>> constrainedValueCount;
534 ::ll::TypedStorage<8, 24, ::std::vector<uint>> softEnumValuesCount;
550 using PredictTable = ::entt::dense_map<
551 ::std::pair<::CommandRegistry::Symbol, ::CommandRegistry::Symbol>,
554 ::std::equal_to<void>>;
565 ::entt::dense_set<::CommandRegistry::Symbol, ::CommandRegistry::SymbolHasher, ::std::equal_to<void>>>>
572 ::entt::dense_set<::CommandRegistry::Symbol, ::CommandRegistry::SymbolHasher, ::std::equal_to<void>>>>
578 ::std::pair<::CommandRegistry::Symbol, ::CommandRegistry::Symbol>,
581 ::std::equal_to<void>>>
583 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> buildDuration;
591 ::ll::TypedStorage<1, 1, bool> mIsValid;
592 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Symbol>> mConstrainedParams;
593 ::ll::TypedStorage<8, 32, ::std::string> mSoftEnumText;
594 ::ll::TypedStorage<8, 32, ::std::string> mSoftEnumEscapeCharExceptions;
595 ::ll::TypedStorage<8, 16, ::std::set<::CommandRegistry::Symbol>> mAlreadyCompletedSymbols;
611 using ParamVisitCallback = ::std::function<
616 using ParseTableMap = ::std::map<uint, ::CommandRegistry::ParseTable>;
622 ::ll::TypedStorage<8, 8, ::CommandRegistry const&> mRegistry;
623 ::ll::TypedStorage<8, 8, ::CommandRegistry::ParseTable const*> mParseTable;
624 ::ll::TypedStorage<8, 40, ::std::deque<::std::pair<::CommandRegistry::Symbol, ::CommandRegistry::ParseToken*>>>
626 ::ll::TypedStorage<8, 32, ::CommandRegistry::LexicalToken> mNext;
627 ::ll::TypedStorage<8, 32, ::std::string> mInput;
628 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRegistry::ParseToken>> mRoot;
629 ::ll::TypedStorage<8, 32, ::std::string> mError;
630 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mErrorParams;
631 ::ll::TypedStorage<4, 4, int> mVersion;
632 ::ll::TypedStorage<1, 1, bool> mGenerateParams;
633 ::ll::TypedStorage<1, 1, bool> mBreakAtEnd;
647 MCAPI
bool _parse(::std::string
const& in);
649 MCAPI ::std::unique_ptr<::CommandSelector<::Actor>>
650 createSelector(::std::string
const& selectorString,
::CommandOrigin const& origin);
652 MCAPI ::std::vector<::std::string> getErrorParams()
const;
654 MCAPI
bool parseCommand(::std::string
const& in);
656 MCAPI
bool parseSelector(::std::string
const& in);
677 ::ll::TypedStorage<8, 64, ::std::function<void(
::Packet const&)>> mNetworkUpdateCallback;
678 ::ll::TypedStorage<8, 64, ::std::function<int(
bool&, ::std::string
const&,
::Actor const&)>> mGetScoreForObjective;
679 ::ll::TypedStorage<1, 1, bool> mIsEduMode;
680 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::ParseRule>> mRules;
681 ::ll::TypedStorage<8, 16, ::std::map<uint, ::CommandRegistry::ParseTable>> mParseTables;
682 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::OptionalParameterChain>> mOptionals;
683 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mEnumValues;
684 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Enum>> mEnums;
685 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mChainedSubcommandValues;
686 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::ChainedSubcommand>> mChainedSubcommands;
687 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Factorization>> mFactorizations;
688 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mPostfixes;
689 ::ll::TypedStorage<8, 16, ::std::map<::std::string, uint>> mEnumLookup;
690 ::ll::TypedStorage<8, 16, ::std::map<::std::string, uint64>> mEnumValueLookup;
691 ::ll::TypedStorage<8, 16, ::std::map<::std::string, uint>> mChainedSubcommandLookup;
692 ::ll::TypedStorage<8, 16, ::std::map<::std::string, uint64>> mChainedSubcommandValueLookup;
693 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::Symbol>> mCommandSymbols;
694 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::CommandRegistry::Signature>> mSignatures;
695 ::ll::TypedStorage<8, 16, ::std::map<::Bedrock::typeid_t<::CommandRegistry>,
int>> mTypeLookup;
696 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::std::string>> mAliases;
697 ::ll::TypedStorage<8, 24, ::std::vector<::SemanticConstraint>> mSemanticConstraints;
698 ::ll::TypedStorage<8, 16, ::std::map<::SemanticConstraint, uchar>> mSemanticConstraintLookup;
699 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::ConstrainedValue>> mConstrainedValues;
700 ::ll::TypedStorage<8, 16, ::std::map<::std::pair<uint64, uint>, uint>> mConstrainedValueLookup;
701 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::SoftEnum>> mSoftEnums;
702 ::ll::TypedStorage<8, 16, ::std::map<::std::string, uint>> mSoftEnumLookup;
703 ::ll::TypedStorage<8, 24, ::std::vector<::CommandRegistry::RegistryState>> mStateStack;
704 ::ll::TypedStorage<4, 100, ::CommandRegistry::ParamSymbols> mArgs;
705 ::ll::TypedStorage<8, 64, ::std::unordered_set<int>> mSkipOnEpsAutocompleteSymbols;
706 ::ll::TypedStorage<8, 64, ::std::unordered_set<int>> mAllowEmptySymbols;
707 ::ll::TypedStorage<8, 64, ::std::function<void(::std::string
const&,
::CommandFlag&, ::CommandPermissionLevel&)>>
708 mCommandOverrideFunctor;
709 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRunStats>> mCommandRunStats;
721 MCAPI ::CommandRegistry::Symbol _addChainedSubcommandValuesInternal(
722 ::std::string
const& name,
723 ::std::vector<::std::pair<::std::string, uint>>
const& strings,
731 ::std::vector<::std::string>&
736 MCAPI ::CommandRegistry::Symbol _addChainedSubcommandValuesInternal(
737 ::std::string
const& name,
738 ::std::vector<::std::pair<uint64, uint>>
const& values,
746 ::std::vector<::std::string>&
751 MCAPI ::CommandRegistry::Symbol _addEnumValuesInternal(
752 ::std::string
const& name,
753 ::std::vector<::std::pair<::std::string, uint64>>
const& strings,
761 ::std::vector<::std::string>&
765 MCAPI ::CommandRegistry::Symbol _addEnumValuesInternal(
766 ::std::string
const& name,
767 ::std::vector<::std::pair<uint64, uint64>>
const& values,
775 ::std::vector<::std::string>&
779 MCAPI ::CommandRegistry::Symbol _addFunctionSoftEnum();
781 MCAPI ::std::unique_ptr<::CommandSelector<::Actor>> _createSelector(
785 ::std::string& error,
786 ::std::vector<::std::string>& errorParams
791 MCAPI
bool _matchesEnumConstraintsSet(
795 ::SemanticConstraint requiredConstraints
798 MCAPI ::std::vector<::CommandRegistry::Symbol> _reconstructParseStack(
803 MCAPI ::std::vector<::CommandRegistry::Symbol> _reconstructParseStack(
804 ::std::vector<::CommandParameterData>
const& params,
810 MCAPI
void addChainedSubcommandValuesToExisting(uint index, ::std::vector<::std::pair<uint64, uint>>
const& values);
812 MCAPI
void addEnumValueConstraints(
813 ::std::string
const& enumName,
814 ::std::vector<::std::string>
const& values,
815 ::SemanticConstraint constraints
818 MCAPI
int addEnumValues(::std::string
const& name, ::std::vector<::std::string>
const& values);
820 MCAPI
void addEnumValuesToExisting(uint index, ::std::vector<::std::pair<uint64, uint64>>
const& values);
822 MCAPI ::CommandRegistry::Symbol addPostfix(::std::string
const& name);
826 ::std::vector<::CommandRegistry::Symbol> derivation,
832 MCAPI
void addSemanticConstraint(::SemanticConstraint constraintType);
834 MCAPI
int addSoftEnum(::std::string
const& name, ::std::vector<::std::string> values);
836 MCAPI
void addSoftEnumValues(::std::string
const& enumName, ::std::vector<::std::string> values);
838 MCAPI ::CommandRegistry::Symbol addSoftTerminal(::std::string
const& name);
840 MCAPI
void autoComplete(
842 ::std::string
const& cmdLine,
843 ::std::string
const& partialMatch,
850 MCAPI
void autoCompleteCommand(
851 ::std::string
const& partialMatch,
858 MCAPI
void buildFollowSet(
862 ::std::set<::CommandRegistry::Symbol>& workingSet
865 MCAPI ::CommandRegistry::Symbol buildOptionalRuleChain(
867 ::std::vector<::CommandParameterData>
const& params,
868 ::std::vector<::CommandRegistry::Symbol>
const& symbols
871 MCAPI
void buildParseTable(uint version)
const;
875 MCAPI ::CommandRegistry::Symbol buildRules(
877 ::std::vector<::gsl::not_null<::CommandRegistry::Overload*>>
const& overloads,
884 MCAPI ::std::unique_ptr<::Command> createCommand(
888 ::std::string& error,
889 ::std::vector<::std::string>& errorParams
896 MCAPI ::std::string describe(
898 ::std::string
const& alias,
905 MCAPI ::CommandRegistry::Signature
const* findCommand(::std::string
const&)
const;
907 MCFOLD ::CommandRegistry::Signature* findCommand(::std::string
const& name);
909 MCAPI ::CommandRegistry::Symbol findEnumValue(::std::string
const& name)
const;
911 MCAPI ::CommandRegistry::Symbol findIdentifierInfo(::std::string
const& name)
const;
913 MCAPI ::CommandRegistry::Symbol findPostfix(::std::string
const& input)
const;
915 MCAPI ::CommandRegistry::Symbol findSoftEnum(::std::string
const& name)
const;
917 MCAPI
void fireCommandParseTableTelemetry(
::IMinecraftEventing const& eventing,
bool isServer)
const;
921 MCAPI ::Json::Value generateDocumentationMetadata(
bool generateInternalMetadata)
const;
923 MCAPI ::std::vector<::std::string> getAliases(::std::string
const& command)
const;
925 MCAPI ::std::vector<::std::string> getAlphabeticalLookup(
::CommandOrigin const& origin)
const;
927 MCAPI ::std::unique_ptr<::AutoCompleteInformation> getAutoCompleteOptions(
929 ::std::string
const& _cmdLine,
930 uint cursorPositionUnsafe
933 MCAPI ::std::string getCommandName(::std::string
const& commandLine)
const;
935 MCAPI ::CommandSyntaxInformation
936 getCommandOverloadSyntaxInformation(
::CommandOrigin const& origin, ::std::string
const& commandName)
const;
940 MCAPI ::CommandSyntaxInformation getOverloadSyntaxInformation(
942 ::std::string
const& cmdLine,
956 MCAPI ::std::string parsePartialCommand(
958 ::std::string
const& _cmdLine,
963 MCAPI
bool parseSelector(
968 ::std::string& error,
969 ::std::vector<::std::string>& errorParams
972 MCAPI
void popState();
974 MCAPI
void pushState();
976 MCAPI
void registerAlias(::std::string name, ::std::string alias);
978 MCAPI
void registerCommand(
979 ::std::string
const& name,
980 char const* description,
981 ::CommandPermissionLevel requirement,
986 MCAPI
void registerOverload(
989 ::std::function<::std::unique_ptr<::Command>()> allocFn,
990 ::std::vector<::CommandParameterData> params
995 MCAPI
void removeSoftEnumValues(::std::string
const& enumName, ::std::vector<::std::string> values);
997 MCAPI ::AvailableCommandsPacket serializeAvailableCommands()
const;
999 MCAPI
void setCommandRegistrationOverride(
1000 ::std::function<
void(::std::string
const&,
::CommandFlag&, ::CommandPermissionLevel&)> functor
1003 MCAPI
void setSoftEnumValues(::std::string
const& enumName, ::std::vector<::std::string> values);
1017 MCAPI static ::BlockType
const* _getBlockFromCmdParameters(::std::string
const& parameters);
1019 MCAPI static ::std::string _removeStringQuotes(::std::string
const& str);
1021 MCFOLD static ::CommandRegistry::ParseToken*
1024 MCAPI static ::CommandRegistry::ParseToken* collapseOn(
1030 MCAPI static ::CommandRegistry::ParseToken*
1033 MCAPI static ::CommandRegistry::ParseToken* expandExcept(
1039 MCAPI static ::CommandRegistry::ParseToken* fold(
1045 MCAPI static ::CommandRegistry::ParseToken*
1048 MCAPI
static bool readFloat(
1051 ::std::string& error,
1052 ::std::vector<::std::string>& errorParams
1055 MCAPI
static bool readInt(
1058 ::std::string& error,
1059 ::std::vector<::std::string>& errorParams
1062 MCAPI
static bool readRelativeCoordinate(
1066 bool readIntegerAsCentered,
1067 ::std::string& error,
1068 ::std::vector<::std::string>& errorParams
1071 MCAPI
static bool readString(
1072 ::std::string& value,
1074 ::std::string& error,
1075 ::std::vector<::std::string>& errorParams
1082 MCAPI
static char const*& CODE_STATUS_PROPERTY_NAME();
1084 MCAPI
static char const*& COMMAND_NAME_ENUM_NAME();
1086 MCAPI
static char const*& FUNCTION_NAME_SOFTENUM_NAME();
1088 MCAPI
static char const*& HASITEM_PARAM_DATA();
1090 MCAPI
static char const*& HASITEM_PARAM_ITEM();
1092 MCAPI
static char const*& HASITEM_PARAM_LOCATION();
1094 MCAPI
static char const*& HASITEM_PARAM_QUANTITY();
1096 MCAPI
static char const*& HASITEM_PARAM_SLOT();
1098 MCAPI
static char const*& HASPERMISSIONSTATE_ENUM_DISABLED();
1100 MCAPI
static char const*& HASPERMISSIONSTATE_ENUM_ENABLED();
1102 MCAPI
static char const*& HASPROPERTY_PARAM_PROPERTY_NAME();
1104 MCAPI static ::std::add_lvalue_reference_t<::std::pair<
1111 ::std::vector<::std::string>&
1116 MCAPI
static char const*& TAG_VALUES_SOFTENUM_NAME();
1118 MCAPI
static char const*& UNLOCKABLE_RECIPES_SOFTENUM_NAME();
1124 MCAPI
void* $ctor(
bool isEduMode);