LeviLamina
Loading...
Searching...
No Matches
HangingRootsBlock.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 Block;
13class BlockPos;
14class BlockSource;
15class Experiments;
18namespace BlockEvents { class BlockQueuedTickEvent; }
19// clang-format on
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 5
26 virtual ::AABB getCollisionShape(
27 ::Block const&,
29 ::BlockPos const&,
31 ) const /*override*/;
32
33 // vIndex: 78
34 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
35
36 // vIndex: 86
37 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
38 /*override*/;
39
40 // vIndex: 138
41 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
42
43 // vIndex: 130
44 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
45
46 // vIndex: 0
47 virtual ~HangingRootsBlock() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCFOLD ::AABB $getCollisionShape(
60 ::Block const&,
62 ::BlockPos const&,
64 ) const;
65
66 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
67
68 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
69
70 MCFOLD bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
71
72 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition AABB.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition HangingRootsBlock.h:21
static MCAPI void ** $vftable()
Definition IConstBlockSource.h:24
Definition optional_ref.h:10