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: 130
27
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
28
29
// vIndex: 5
30
virtual ::AABB getCollisionShape(
31
::Block
const
&,
32
::IConstBlockSource
const
&,
33
::BlockPos
const
& pos,
34
::optional_ref<::GetCollisionShapeInterface const>
35
)
const
/*override*/
;
36
37
// vIndex: 133
38
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
39
40
// vIndex: 140
41
virtual
int
getExtraRenderLayers()
const
/*override*/
;
42
43
// vIndex: 11
44
virtual ::AABB
const
& getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
/*override*/
;
45
46
// vIndex: 0
47
virtual
~HoneyBlock
()
/*override*/
=
default
;
48
// NOLINTEND
49
50
public
:
51
// member functions
52
// NOLINTBEGIN
53
MCAPI
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
54
// NOLINTEND
55
56
public
:
57
// static functions
58
// NOLINTBEGIN
59
MCAPI
static
void
triggerSlidingDownEffects(
::Actor
& entity,
::BlockPos
const
& pos,
::Block
const
& honeyBlock);
60
// NOLINTEND
61
62
public
:
63
// virtual function thunks
64
// NOLINTBEGIN
65
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
66
67
MCAPI ::AABB $getCollisionShape(
68
::Block
const
&,
69
::IConstBlockSource
const
&,
70
::BlockPos
const
& pos,
71
::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
MCNAPI
static
void
**
$vftable
();
85
// NOLINTEND
86
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:103
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:16
BlockLegacy
Definition
BlockLegacy.h:88
BlockPos
Definition
BlockPos.h:18
Block
Definition
Block.h:38
EntityContext
Definition
EntityContext.h:16
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
HoneyBlock
Definition
HoneyBlock.h:22
HoneyBlock::$vftable
static MCAPI void ** $vftable()
IConstBlockSource
Definition
IConstBlockSource.h:24
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
HoneyBlock.h
Generated on Fri Jun 13 2025 05:05:15 for LeviLamina by
1.12.0