49 MCNAPI ::std::optional<::std::vector<::std::string>>
getDynamicPropertyIds(::std::string
const& collection)
const;
51 MCNAPI ::std::optional<::std::vector<::std::string>>
getLore()
const;
53 MCNAPI ::std::optional<::std::string>
getNameTag()
const;
59 MCNAPI ::std::optional<bool>
setCanDestroy(::std::vector<::std::string>
const& blockIdentifiers);
61 MCNAPI ::std::optional<bool>
setCanPlaceOn(::std::vector<::std::string>
const& blockIdentifiers);
64 ::std::string
const& collection,
65 ::std::string
const& key,
66 ::std::optional<::std::variant<double, float, bool, ::std::string, ::Vec3>>
const& optionalValue
71 MCNAPI
bool setLore(::std::optional<::std::vector<::std::string>>
const& loreList);
73 MCNAPI
bool setNameTag(::std::optional<::std::string> nameTag);
Definition ItemContext.h:16
MCAPI bool setAmount(int amount)
MCAPI ::std::optional< bool > setCanDestroy(::std::vector<::std::string > const &blockIdentifiers)
static MCAPI bool setEquipment(::ItemStack const &item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot, ::Mob &mob)
MCAPI ::std::optional<::std::string > getNameTag() const
MCAPI ::std::optional<::std::vector<::std::string > > getDynamicPropertyIds(::std::string const &collection) const
MCAPI bool setNameTag(::std::optional<::std::string > nameTag)
MCAPI::Container * _tryGetContainerFromEntity() const
static MCAPI bool _trySetEquippedSlot(::ItemStack const &item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot, ::Mob &mob)
MCAPI ::std::optional<::std::vector<::std::string > > getLore() const
MCAPI bool setKeepOnDeath(bool value)
MCAPI bool setLore(::std::optional<::std::vector<::std::string > > const &loreList)
MCAPI bool setDynamicProperty(::std::string const &collection, ::std::string const &key, ::std::optional<::std::variant< double, float, bool, ::std::string, ::Vec3 > > const &optionalValue)
MCAPI ::std::optional< bool > setCanPlaceOn(::std::vector<::std::string > const &blockIdentifiers)
MCAPI bool isValid() const
MCAPI ItemContext(::ItemContext &&)
MCAPI void _setItem(::ItemStack const &item)
MCAPI::Container * _tryGetContainerFromItem() const
MCAPI::ItemStack const & _getItem() const
MCAPI void * $ctor(::ItemContext &&)