3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/world/item/registry/ItemRegistryRef.h"
17namespace ScriptModuleMinecraft {
22 using ItemTypesMap = ::std::
23 unordered_map<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>;
28 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
33 unordered_map<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>>
39 unordered_map<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>>
45 unordered_map<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>>
47 ::ll::TypedStorage<1, 1, bool> mRegisteredItems;
53 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
59 ::std::string itemName,
60 bool allowAirBlockItem
67 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
70 MCNAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
77 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
82 MCNAPI static ::std::unordered_map<::std::string, ::std::string>
86 MCNAPI static ::std::vector<::std::string> generatetItemCooldownCategories(
::ItemRegistryRef itemRegistry);
89 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>>
Definition HashedString.h:5
Definition ItemRegistryRef.h:36
Definition ScriptItemType.h:16
Definition ScriptItems.h:19
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 void _registerItems(::Scripting::WeakLifetimeScope &scope, bool allowAirBlockItem)
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)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > _getOrCreateItemTypeHandle(::Scripting::WeakLifetimeScope scope, ::std::string const &lookupName)
Definition ModuleBindingBuilder.h:22
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12