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: 131
27 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
28
29 // vIndex: 5
30 virtual ::AABB
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
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void triggerSlidingDownEffects(::Actor& entity, ::BlockPos const& pos, ::Block const& honeyBlock);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
69
70 MCAPI ::AABB
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 MCAPI static void** $vftable();
85 // NOLINTEND
86};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockEntityFallOnEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:36
Definition EntityContext.h:16
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition HoneyBlock.h:22
Definition IConstBlockSource.h:24
Definition optional_ref.h:10