LeviLamina
Loading...
Searching...
No Matches
ItemEnchants Class Reference

Public Member Functions

ItemEnchantsoperator= (ItemEnchants const &)
 
 ItemEnchants (ItemEnchants const &)
 
MCAPI void _fromList (::ListTag const &tag)
 
MCAPI ::std::unique_ptr<::ListTag_toList () const
 
MCAPI bool addEnchant (::EnchantmentInstance enchant, bool allowNonVanilla)
 
MCAPI::EnchantResult canEnchant (::EnchantmentInstance enchant, bool allowNonVanilla)
 
MCAPI ::std::vector<::EnchantmentInstancegetAllEnchants () const
 
MCAPI ::std::vector<::std::string > getEnchantNames () const
 
MCAPI::EnchantmentInstance getEnchantment (::Enchant::Type enchantType)
 
MCAPI ::std::vector<::EnchantmentInstance > const & getEnchants (int activationType) const
 
MCAPI int getTotalValue (bool bookModifier) const
 
MCAPI int hasEnchant (::Enchant::Type enchantType) const
 
MCAPI::ItemEnchants & operator= (::ItemEnchants &&)
 
MCAPI ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &stream)
 
MCAPI void $dtor ()
 

Public Attributes

::ll::TypedStorage< 4, 4, int > mSlot
 
::ll::TypedStorage< 8, 72, ::std::vector<::EnchantmentInstance >[3]> mItemEnchants
 

The documentation for this class was generated from the following file: