LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerBreakBlockAfterEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
#include "mc/scripting/modules/minecraft/events/ScriptBlockEvent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Block
;
12
class
BlockPos
;
13
class
ItemStackBase
;
14
class
Player
;
15
namespace
ScriptModuleMinecraft {
class
ScriptBlockPermutation; }
16
namespace
ScriptModuleMinecraft {
class
ScriptItemStack; }
17
namespace
ScriptModuleMinecraft {
class
ScriptPlayer; }
18
namespace
Scripting {
class
WeakLifetimeScope; }
19
namespace
Scripting {
struct
ClassBinding; }
20
// clang-format on
21
22
namespace
ScriptModuleMinecraft {
23
24
struct
ScriptPlayerBreakBlockAfterEvent
:
public
::ScriptModuleMinecraft::ScriptBlockEvent
{
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mPlayer;
29
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
30
mBrokenBlockPermutation;
31
::ll::TypedStorage<
32
8,
33
40,
34
::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
35
mAfterBreakItemStack;
36
::ll::TypedStorage<
37
8,
38
40,
39
::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
40
mBeforeBreakItemStack;
41
// NOLINTEND
42
43
public
:
44
// prevent constructor by default
45
ScriptPlayerBreakBlockAfterEvent
& operator=(
ScriptPlayerBreakBlockAfterEvent
const
&);
46
ScriptPlayerBreakBlockAfterEvent
();
47
48
public
:
49
// member functions
50
// NOLINTBEGIN
51
MCAPI
ScriptPlayerBreakBlockAfterEvent
(
::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent
const
&);
52
53
MCAPI
ScriptPlayerBreakBlockAfterEvent
(
::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent
&&);
54
55
MCAPI
ScriptPlayerBreakBlockAfterEvent
(
56
::Player
& player,
57
::BlockPos
const
& pos,
58
::Block
const
& destroyedBlock,
59
::ItemStackBase
const
& afterBreakItem,
60
::ItemStackBase
const
& beforeBreakItem,
61
::Scripting::WeakLifetimeScope
const
& scope
62
);
63
64
MCAPI
~ScriptPlayerBreakBlockAfterEvent
();
65
// NOLINTEND
66
67
public
:
68
// static functions
69
// NOLINTBEGIN
70
MCAPI static ::Scripting::ClassBinding bind();
71
// NOLINTEND
72
73
public
:
74
// constructor thunks
75
// NOLINTBEGIN
76
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent
const
&);
77
78
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent
&&);
79
80
MCAPI
void
* $ctor(
81
::Player
& player,
82
::BlockPos
const
& pos,
83
::Block
const
& destroyedBlock,
84
::ItemStackBase
const
& afterBreakItem,
85
::ItemStackBase
const
& beforeBreakItem,
86
::Scripting::WeakLifetimeScope
const
& scope
87
);
88
// NOLINTEND
89
90
public
:
91
// destructor thunk
92
// NOLINTBEGIN
93
MCAPI
void
$dtor();
94
// NOLINTEND
95
};
96
97
}
// namespace ScriptModuleMinecraft
BlockPos
Definition
BlockPos.h:17
Block
Definition
Block.h:37
ItemStackBase
Definition
ItemStackBase.h:34
Player
Definition
Player.h:123
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ScriptModuleMinecraft::ScriptBlockEvent
Definition
ScriptBlockEvent.h:17
ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent
Definition
ScriptPlayerBreakBlockAfterEvent.h:24
src-server
mc
scripting
modules
minecraft
events
ScriptPlayerBreakBlockAfterEvent.h
Generated on Sun Oct 12 2025 06:32:03 for LeviLamina by
1.12.0