3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
20namespace Scripting {
struct Version; }
23namespace ScriptModuleMinecraft {
33 unordered_map<::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptBlockComponentFactory>>>
35 ::ll::TypedStorage<8, 16, ::WeakRef<::ScriptModuleMinecraft::IScriptBlockCustomComponentReader const>>
36 mCustomComponentReader;
42 MCNAPI ::std::unordered_map<
44 ::std::shared_ptr<::ScriptModuleMinecraft::IScriptBlockComponentFactory>>
const&
52 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::BaseScriptBlockComponent>>
54 ::std::string_view componentName,
58 bool allowCustomComponent
69 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockComponents>
const& blockComponents
Definition BlockSource.h:72
Definition BaseScriptBlockComponent.h:18
Definition IScriptBlockComponentFactory.h:21
Definition IScriptBlockCustomComponentReader.h:18
Definition ScriptBlockComponents.h:25
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder, ::Scripting::Version const &scriptingVersion, ::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder, ::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockComponents > const &blockComponents)
MCAPI ::std::unordered_map< ::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptBlockComponentFactory > > const & getOrCreateBlockComponentFactories() const
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::BaseScriptBlockComponent > > tryCreateComponent(::std::string_view componentName, ::BlockSource ®ion, ::BlockPos position, ::Scripting::WeakLifetimeScope const &scope, bool allowCustomComponent) const
MCAPI ::std::vector<::std::string_view > getSupportedComponentIds(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation > const &permutation, bool includeCustom) const
Definition ScriptBlockPermutation.h:22
Definition ScriptComponentTypeEnumBuilder.h:18
Definition ModuleBindingBuilder.h:22
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12