3#include "mc/_HeaderOutputPredefine.h"
9namespace cereal {
struct ReflectionCtx; }
12namespace ItemDynamicPropertiesHelper {
15MCAPI
bool clearAllDynamicProperties(
::ItemStackBase& item, ::std::string
const& collection);
17MCAPI ::std::optional<::std::variant<double, float, bool, ::std::string, ::Vec3>> getDynamicProperty(
19 ::std::string
const& key,
20 ::std::string
const& collectionName,
24MCAPI
bool removeDynamicProperty(
::ItemStackBase& item, ::std::string
const& key, ::std::string
const& collectionName);
26MCAPI
void setDynamicProperty(
28 ::std::string
const& key,
29 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const& value,
30 ::std::string
const& collectionName,
Definition ItemStackBase.h:35
Definition ReflectionCtx.h:11