3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
12namespace ScriptModuleMinecraft {
class ScriptItemType; }
13namespace Scripting {
class ModuleBindingBuilder; }
14namespace Scripting {
class WeakLifetimeScope; }
17namespace ScriptModuleMinecraft {
42 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
45 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
51 ::std::string itemName,
52 bool allowAirBlockItem
55 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
57 ::std::string itemName,
65 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
68 MCNAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
71 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
78 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
83 MCNAPI static ::std::unordered_map<::std::string, ::std::string>
88 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
Definition HashedString.h:5
Definition ItemRegistryRef.h:31
Definition ScriptItems.h:19
static MCAPI ::std::vector<::std::string > generatetItemCooldownCategories(::ItemRegistryRef itemRegistry)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptItems const &)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder, ::ItemRegistryRef itemRegistry)
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > getAll(::Scripting::WeakLifetimeScope &scope, bool allowAirBlockItem)
MCAPI void _tryRegisterItemTypeAlias(::HashedString const &aliasName)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > getOrCreateItemTypeHandle(::Scripting::WeakLifetimeScope scope, ::std::string const &identifier)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > _registerItemType(::std::unordered_map< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > ®istry, ::Scripting::WeakLifetimeScope scope, ::std::string itemName, bool allowAirBlockItem)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > getOrAdd(::Scripting::WeakLifetimeScope &scope, ::std::string const &itemName, bool allowAirBlockItem)
MCAPI void * $ctor(::ItemRegistryRef itemRegistry)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > _registerItemTypeAlias(::std::string itemName, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > itemHandle)
MCAPI void _registerItems(::Scripting::WeakLifetimeScope &scope, bool allowAirBlockItem)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > _getItemHandleForAlias(::HashedString const &aliasName) const
static MCAPI ::std::unordered_map<::std::string, ::std::string > generateItemPropertyNameToRawNameMap(::ItemRegistryRef itemRegistry, bool allowAirBlockItem)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > get(::Scripting::WeakLifetimeScope &scope, ::std::string const &itemName, bool allowAirBlockItem)
MCAPI ScriptItems(::ScriptModuleMinecraft::ScriptItems const &)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > _getOrCreateItemTypeHandle(::Scripting::WeakLifetimeScope scope, ::std::string const &lookupName)
MCAPI ScriptItems(::ItemRegistryRef itemRegistry)
Definition ModuleBindingBuilder.h:30
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12