LeviLamina
Loading...
Searching...
No Matches
BlockEventBase.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/BlockPos.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockSource
;
12
// clang-format on
13
14
namespace
BlockEvents {
15
16
class
BlockEventBase {
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 12, ::BlockPos const> mPos;
21
// NOLINTEND
22
23
public
:
24
BlockEventBase() : mPos(
BlockPos
(0, 0, 0)) {}
25
BlockEventBase(
BlockPos
const
& pos) : mPos(pos) {}
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~BlockEventBase() =
default
;
31
32
virtual ::Block
const
& getBlock()
const
;
33
34
virtual ::BlockSource
const
& getBlockSource()
const
= 0;
35
// NOLINTEND
36
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
MCAPI ::Block
const
& $getBlock()
const
;
41
42
43
// NOLINTEND
44
};
45
46
}
// namespace BlockEvents
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Block
Definition
Block.h:41
src
mc
world
level
block
block_events
BlockEventBase.h
Generated on
for LeviLamina by
1.16.1