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
11class AABB;
12class Actor;
13class Block;
14class BlockPos;
15class EntityContext;
16class Experiments;
19namespace BlockEvents { class BlockEntityFallOnEvent; }
20// clang-format on
21
22class HoneyBlock : public ::BlockLegacy {
23public:
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&,
33 ::BlockPos const& pos,
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
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static void triggerSlidingDownEffects(::Actor& entity, ::BlockPos const& pos, ::Block const& honeyBlock);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
66
67 MCAPI ::AABB $getCollisionShape(
68 ::Block const&,
70 ::BlockPos const& pos,
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
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition AABB.h:18
Definition Actor.h:103
Definition BlockEntityFallOnEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:38
Definition EntityContext.h:16
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition HoneyBlock.h:22
static MCAPI void ** $vftable()
Definition IConstBlockSource.h:24
Definition optional_ref.h:10