LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentMineBlockEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
9#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentAfterEvent.h"
10#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentIntermediateStorage.h"
11#include "mc/world/item/ItemStack.h"
12#include "mc/world/level/BlockPos.h"
13
14// auto generated forward declare list
15// clang-format off
16class Actor;
17class Block;
18class BlockSource;
19namespace ScriptModuleMinecraft { class ScriptActor; }
20namespace ScriptModuleMinecraft { class ScriptBlock; }
21namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
22namespace ScriptModuleMinecraft { class ScriptItemStack; }
23namespace Scripting { struct ClassBinding; }
24// clang-format on
25
26namespace ScriptModuleMinecraft {
27
29public:
30 // ScriptItemCustomComponentMineBlockEvent inner types declare
31 // clang-format off
33 // clang-format on
34
35 // ScriptItemCustomComponentMineBlockEvent inner types define
37 public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
41 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntity;
42 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
43 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
44 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
45 // NOLINTEND
46
47 public:
48 // prevent constructor by default
49 IntermediateStorage& operator=(IntermediateStorage const&);
50 IntermediateStorage(IntermediateStorage const&);
51 IntermediateStorage();
52 };
53
55 void(bool&, ::ItemStack&, ::Block const&, int, int, int, ::Actor&)>;
56
57public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<
61 8,
62 40,
63 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
64 mScriptItem;
65 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mActor;
66 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock>> mBlock;
67 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
68 mMinedBlock;
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCAPI static ::Scripting::ClassBinding bind();
75 // NOLINTEND
76};
77
78} // namespace ScriptModuleMinecraft
Definition Actor.h:113
Definition BlockSource.h:71
Definition Block.h:41
Definition ItemStack.h:26
Definition ScriptActor.h:64
Definition ScriptBlockPermutation.h:22
Definition ScriptBlock.h:29
Definition ScriptItemStack.h:30
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentMineBlockEvent.h:28
Definition ClassBinding.h:10