LeviLamina
Loading...
Searching...
No Matches
HoneyBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/optional_ref.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
AABB
;
12
class
Actor
;
13
class
Block
;
14
class
BlockPos
;
15
class
EntityContext
;
16
class
Experiments
;
17
class
GetCollisionShapeInterface
;
18
class
IConstBlockSource
;
19
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
20
// clang-format on
21
22
class
HoneyBlock
:
public
::BlockType {
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
27
28
virtual ::AABB getCollisionShape(
29
::Block
const
&,
30
::IConstBlockSource
const
&,
31
::BlockPos
const
& pos,
32
::optional_ref<::GetCollisionShapeInterface const>
33
)
const
/*override*/
;
34
35
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
36
37
virtual
int
getExtraRenderLayers()
const
/*override*/
;
38
39
virtual ::AABB
const
& getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
/*override*/
;
40
41
virtual
~HoneyBlock
()
/*override*/
=
default
;
42
// NOLINTEND
43
44
public
:
45
// member functions
46
// NOLINTBEGIN
47
MCAPI
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
48
// NOLINTEND
49
50
public
:
51
// static functions
52
// NOLINTBEGIN
53
MCAPI
static
void
triggerSlidingDownEffects(
::Actor
& entity,
::BlockPos
const
& pos,
::Block
const
& honeyBlock);
54
// NOLINTEND
55
56
public
:
57
// virtual function thunks
58
// NOLINTBEGIN
59
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
60
61
MCAPI ::AABB $getCollisionShape(
62
::Block
const
&,
63
::IConstBlockSource
const
&,
64
::BlockPos
const
& pos,
65
::optional_ref<::GetCollisionShapeInterface const>
66
)
const
;
67
68
MCFOLD
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
69
70
MCFOLD
int
$getExtraRenderLayers()
const
;
71
72
MCAPI ::AABB
const
& $getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
;
73
74
75
// NOLINTEND
76
77
public
:
78
// vftables
79
// NOLINTBEGIN
80
MCAPI
static
void
** $vftable();
81
// NOLINTEND
82
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:105
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:16
BlockPos
Definition
BlockPos.h:19
Block
Definition
Block.h:43
EntityContext
Definition
EntityContext.h:16
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
HoneyBlock
Definition
HoneyBlock.h:22
IConstBlockSource
Definition
IConstBlockSource.h:25
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
HoneyBlock.h
Generated on
for LeviLamina by
1.16.1