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/BlockLegacy.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
::BlockLegacy
{
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
// vIndex: 131
27
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
28
29
// vIndex: 5
30
virtual ::AABB
31
getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::optional_ref<::GetCollisionShapeInterface const>
)
32
const
/*override*/
;
33
34
// vIndex: 134
35
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
36
37
// vIndex: 144
38
virtual
int
getExtraRenderLayers()
const
/*override*/
;
39
40
// vIndex: 11
41
virtual ::AABB
const
& getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
/*override*/
;
42
43
// vIndex: 0
44
virtual
~HoneyBlock
()
/*override*/
=
default
;
45
// NOLINTEND
46
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCAPI
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
51
// NOLINTEND
52
53
public
:
54
// static functions
55
// NOLINTBEGIN
56
MCAPI
static
void
triggerSlidingDownEffects(
::Actor
& entity,
::BlockPos
const
& pos,
::Block
const
& honeyBlock);
57
// NOLINTEND
58
59
public
:
60
// destructor thunk
61
// NOLINTBEGIN
62
63
// NOLINTEND
64
65
public
:
66
// virtual function thunks
67
// NOLINTBEGIN
68
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
69
70
MCAPI ::AABB
71
$getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::optional_ref<::GetCollisionShapeInterface const>
)
72
const
;
73
74
MCFOLD
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
75
76
MCFOLD
int
$getExtraRenderLayers()
const
;
77
78
MCAPI ::AABB
const
& $getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
;
79
// NOLINTEND
80
81
public
:
82
// vftables
83
// NOLINTBEGIN
84
MCAPI
static
void
** $vftable();
85
// NOLINTEND
86
};
AABB
Definition
AABB.h:16
Actor
Definition
Actor.h:104
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:15
BlockLegacy
Definition
BlockLegacy.h:88
BlockPos
Definition
BlockPos.h:18
Block
Definition
Block.h:36
EntityContext
Definition
EntityContext.h:16
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
HoneyBlock
Definition
HoneyBlock.h:22
IConstBlockSource
Definition
IConstBlockSource.h:24
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
HoneyBlock.h
Generated on Sat Apr 26 2025 05:56:21 for LeviLamina by
1.12.0