25 ::ll::TypedStorage<4, 4, ::ItemContextType> mItemContextType;
26 ::ll::TypedStorage<8, 8, ::Container*> mContainer;
27 ::ll::TypedStorage<4, 4, int> mSlot;
28 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::EquipmentSlot> mEquipmentSlot;
29 ::ll::TypedStorage<8, 8, ::BlockSource*> mBlockSource;
30 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
31 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mEntityRef;
32 ::ll::TypedStorage<8, 160, ::std::optional<::ItemStack>> mItemStackContainer;
37 ItemContext& operator=(ItemContext
const&);
38 ItemContext(ItemContext
const&);
44 MCAPI ItemContext(::ItemContext&&);
48 MCAPI ::ItemStack
const& _getItem()
const;
52 MCAPI ::Container* _tryGetChestContainer()
const;
54 MCAPI ::Container* _tryGetContainerFromEntity()
const;
56 MCAPI ::Container* _tryGetContainerFromItem()
const;
58 MCAPI
bool clearAllDynamicProperties(::std::string
const& collection);
60 MCAPI ::std::optional<::std::vector<::std::string>> getDynamicPropertyIds(::std::string
const& collection)
const;
62 MCAPI ::std::optional<::std::vector<::std::string>> getLore()
const;
64 MCAPI
bool isValid()
const;
66 MCAPI
bool setAmount(
int amount);
68 MCAPI ::std::optional<bool> setCanDestroy(::std::vector<::std::string>
const& blockIdentifiers);
70 MCAPI ::std::optional<bool> setCanPlaceOn(::std::vector<::std::string>
const& blockIdentifiers);
72 MCAPI
bool setDynamicProperty(
73 ::std::string
const& collection,
74 ::std::string
const& key,
75 ::std::optional<::std::variant<double, float, bool, ::std::string, ::Vec3>>
const& optionalValue
78 MCAPI
bool setKeepOnDeath(
bool value);
80 MCAPI
bool setLockMode(::ItemLockMode lockMode);
82 MCAPI
bool setLore(::std::optional<::std::vector<::std::string>>
const& loreList);
84 MCAPI
bool setNameTag(::std::optional<::std::string> nameTag);
93 _trySetEquippedSlot(
::ItemStack const& item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob& mob);
96 setEquipment(
::ItemStack const& item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob& mob);
102 MCAPI
void* $ctor(::ItemContext&&);