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
GetCollisionShapeInterface
;
17
class
IConstBlockSource
;
18
class
Material
;
19
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
20
// clang-format on
21
22
class
HoneyBlock :
public
::BlockType {
23
public
:
24
// prevent constructor by default
25
HoneyBlock();
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual ::AABB getCollisionShape(
31
::Block
const
& pos,
32
::IConstBlockSource
const
&,
33
::BlockPos
const
&,
34
::optional_ref<::GetCollisionShapeInterface const>
35
)
const
/*override*/
;
36
37
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
&)
const
/*override*/
;
38
39
virtual
float
getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
/*override*/
;
40
41
virtual
int
getExtraRenderLayers()
const
/*override*/
;
42
43
virtual ::AABB
const
& getVisualShape(
::Block
const
& bufferAABB,
::AABB
&)
const
/*override*/
;
44
// NOLINTEND
45
46
public
:
47
// member functions
48
// NOLINTBEGIN
49
MCAPI HoneyBlock(::std::string
const
& nameId,
int
id
,
::Material
const
& material);
50
51
MCAPI
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
52
// NOLINTEND
53
54
public
:
55
// static functions
56
// NOLINTBEGIN
57
MCAPI
static
void
triggerSlidingDownEffects(
::Actor
& entity,
::BlockPos
const
& pos,
::Block
const
& honeyBlock);
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
,
::Material
const
& material);
64
// NOLINTEND
65
66
public
:
67
// virtual function thunks
68
// NOLINTBEGIN
69
MCAPI ::AABB $getCollisionShape(
70
::Block
const
& pos,
71
::IConstBlockSource
const
&,
72
::BlockPos
const
&,
73
::optional_ref<::GetCollisionShapeInterface const>
74
)
const
;
75
76
MCFOLD
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
&)
const
;
77
78
MCFOLD
float
$getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
;
79
80
MCFOLD
int
$getExtraRenderLayers()
const
;
81
82
MCAPI ::AABB
const
& $getVisualShape(
::Block
const
& bufferAABB,
::AABB
&)
const
;
83
84
85
// NOLINTEND
86
87
public
:
88
// vftables
89
// NOLINTBEGIN
90
MCAPI
static
void
** $vftable();
91
// NOLINTEND
92
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:125
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:20
BlockPos
Definition
BlockPos.h:21
Block
Definition
Block.h:69
EntityContext
Definition
EntityContext.h:17
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
IConstBlockSource
Definition
IConstBlockSource.h:24
Material
Definition
Material.h:8
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
HoneyBlock.h
Generated on
for LeviLamina by
1.16.1