3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/scripting/modules/minecraft/ScriptCustomComponentParameterCacheHandle.h"
8#include "mc/scripting/modules/minecraft/events/ScriptBlockCustomComponentEventTypes.h"
9#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentToExecute.h"
29 struct ExecutableComponent {
33 ::ll::TypedStorage<8, 8, ::HashedString const&> mName;
34 ::ll::TypedStorage<8, 16, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCacheHandle const> mData;
35 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ScriptModuleMinecraft::ScriptBlockCustomComponentInterface const*>>
41 ExecutableComponent& operator=(ExecutableComponent
const&);
42 ExecutableComponent(ExecutableComponent
const&);
43 ExecutableComponent();
49 ::ll::TypedStorage<1, 1, bool> mIsCustomComponentsV1;
50 ::ll::TypedStorage<1, 1, bool> mHasPlayerInteractEvent;
51 ::ll::TypedStorage<1, 1, bool> mHasPlayerPlacingEvent;
52 ::ll::TypedStorage<8, 16, ::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry>> mScriptRegistry;
53 ::ll::TypedStorage<8, 24, ::std::vector<::BlockCustomComponentData>> mCustomComponentData;
67 ::ScriptModuleMinecraft::ScriptBlockCustomComponentEventTypes eventType,
Definition BlockCustomComponentsComponent.h:21
MCAPI bool hasRegisteredEventHandler(::ScriptModuleMinecraft::ScriptBlockCustomComponentEventTypes eventType, ::BlockType const &baseBlock) const
MCAPI ::std::vector<::BlockCustomComponentsComponent::ExecutableComponent > _gatherComponentsToExecute() const
MCAPI ::std::vector<::ScriptModuleMinecraft::ScriptCustomComponentToExecute< ::ScriptModuleMinecraft::ScriptBlockCustomComponentInterface const &, void > > tryGetComponentsToExecute(::BlockType const &baseBlock) const
MCAPI void finalize(::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry > const ®istry, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCache ¶meterCache)
Definition BlockType.h:79
Definition HashedString.h:5
Definition ScriptBlockCustomComponentInterface.h:10
Definition ScriptBlockCustomComponentsRegistry.h:64
Definition ScriptCustomComponentParameterCache.h:21
Definition ScriptCustomComponentToExecute.h:8
Definition BlockCustomComponentData.h:10
Definition BlockCustomComponentsComponent.h:29