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