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&&);
50 MCAPI ::ItemStack
const& _getItem()
const;
54 MCAPI ::Container* _tryGetChestContainer()
const;
56 MCAPI ::Container* _tryGetContainerFromEntity()
const;
58 MCAPI ::Container* _tryGetContainerFromItem()
const;
60 MCAPI
bool clearAllDynamicProperties(::std::string
const& collection);
62 MCAPI ::std::optional<::std::vector<::std::string>> getDynamicPropertyIds(::std::string
const& collection)
const;
64 MCAPI ::std::optional<::std::vector<::std::string>> getLore()
const;
66 MCAPI
bool isValid()
const;
68 MCAPI
bool setAmount(
int amount);
70 MCAPI ::std::optional<bool> setCanDestroy(::std::vector<::std::string>
const& blockIdentifiers);
72 MCAPI ::std::optional<bool> setCanPlaceOn(::std::vector<::std::string>
const& blockIdentifiers);
74 MCAPI
bool setDynamicProperty(
75 ::std::string
const& collection,
76 ::std::string
const& key,
77 ::std::optional<::std::variant<double, float, bool, ::std::string, ::Vec3>>
const& optionalValue
80 MCAPI
bool setKeepOnDeath(
bool value);
82 MCAPI
bool setLockMode(::ItemLockMode lockMode);
84 MCAPI
bool setLore(::std::optional<::std::vector<::std::string>>
const& loreList);
86 MCAPI
bool setNameTag(::std::optional<::std::string> nameTag);
95 _trySetEquippedSlot(
::ItemStack const& item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob& mob);
98 setEquipment(
::ItemStack const& item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob& mob);
104 MCAPI
void* $ctor(::ItemContext&&);