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