Class endstone::ItemStack::Impl¶
Public Functions¶
| Type | Name |
|---|---|
| virtual std::unique_ptr< Impl > | clone () const = 0 |
| virtual int | getAmount () const = 0 |
| virtual int | getData () const = 0 |
| virtual std::unique_ptr< ItemMeta > | getItemMeta () const = 0 |
| virtual int | getMaxStackSize () const = 0 |
| virtual CompoundTag | getNbt () const = 0 |
| virtual std::string | getTranslationKey () const = 0 |
| virtual const ItemType & | getType () const = 0 |
| virtual bool | hasItemMeta () const = 0 |
| virtual bool | isSimilar (const Impl & other) const = 0 |
| virtual void | setAmount (int amount) = 0 |
| virtual void | setData (int data) = 0 |
| virtual bool | setItemMeta (const ItemMeta * meta) = 0 |
| virtual void | setNbt (const CompoundTag & nbt) = 0 |
| virtual void | setType (ItemTypeId type) = 0 |
| virtual | ~Impl () = default |
Public Functions Documentation¶
function clone¶
function getAmount¶
function getData¶
function getItemMeta¶
function getMaxStackSize¶
function getNbt¶
function getTranslationKey¶
function getType¶
function hasItemMeta¶
function isSimilar¶
function setAmount¶
function setData¶
function setItemMeta¶
function setNbt¶
function setType¶
function ~Impl¶
The documentation for this class was generated from the following file include/endstone/inventory/item_stack.h