3#include "mc/_HeaderOutputPredefine.h"
13namespace ItemDynamicPropertiesHelper {
16MCNAPI
bool clearAllDynamicProperties(::ItemStackBase& item, ::std::string
const& collection);
18MCNAPI ::std::unique_ptr<::DynamicProperties>
19getDynamicProperties(::ItemStackBase
const& item, ::cereal::ReflectionCtx
const& ctx);
21MCNAPI ::std::optional<::std::variant<double, float, bool, ::std::string, ::Vec3>> getDynamicProperty(
22 ::ItemStackBase
const& item,
23 ::std::string
const& key,
24 ::std::string
const& collectionName,
25 ::cereal::ReflectionCtx
const& ctx
28MCNAPI
bool removeDynamicProperty(::ItemStackBase& item, ::std::string
const& key, ::std::string
const& collectionName);
30MCNAPI
void setDynamicProperty(
31 ::ItemStackBase& item,
32 ::std::string
const& key,
33 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const& value,
34 ::std::string
const& collectionName,
35 ::cereal::ReflectionCtx
const& ctx
Definition DynamicProperties.h:16
Definition ItemStackBase.h:45
Definition ReflectionCtx.h:11