Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentCompleteUseEvent.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/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
8#include "mc/scripting/modules/minecraft/events/ScriptItemCompleteUseEvent.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/item/ItemUseMethod.h"
13
14// auto generated forward declare list
15// clang-format off
16class Level;
17class Player;
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
25public:
26 // ScriptItemCustomComponentCompleteUseEvent inner types declare
27 // clang-format off
29 // clang-format on
30
31 // ScriptItemCustomComponentCompleteUseEvent inner types define
33 public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
37 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mPlayer;
38 // NOLINTEND
39 };
40
42 void(::ItemUseMethod&, ::ItemStack const&, ::ItemStack&, ::Player&, ::Level&)>;
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCNAPI static ::Scripting::ClassBinding bind();
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition ItemStack.h:26
Definition Level.h:255
Definition Player.h:131
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCompleteUseEvent.h:17
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentCompleteUseEvent.h:32
Definition ScriptItemCustomComponentCompleteUseEvent.h:24
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ClassBinding.h:10