3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/world/item/enchanting/Enchant.h"
11namespace Scripting {
class WeakLifetimeScope; }
12namespace Scripting {
struct ClassBinding; }
15namespace ScriptModuleMinecraft {
37 MCNAPI ::ScriptModuleMinecraft::ScriptItemEnchantmentType&
44 MCNAPI static ::Scripting::ClassBinding
bind();
49 ::std::string>
const& enchantmentTypeOrId
52 MCNAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ScriptItemEnchantmentType.h:17
static MCAPI ::Scripting::ClassBinding bind()
MCAPI::ScriptModuleMinecraft::ScriptItemEnchantmentType & operator=(::ScriptModuleMinecraft::ScriptItemEnchantmentType &&)
MCAPI::std::string getName() const
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType > getOrCreateHandle(::Scripting::WeakLifetimeScope const &scope, ::Enchant::Type enchantmentType)
static MCAPI ::Enchant::Type getEnchantType(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > const &enchantmentTypeOrId)