LeviLamina
Loading...
Searching...
No Matches
DirtPathBlock.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#include "mc/world/level/block/BlockSupportType.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
17class Experiments;
20class ItemStack;
21class Player;
22namespace BlockEvents { class BlockQueuedTickEvent; }
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 5
30 virtual ::AABB
32 const /*override*/;
33
34 // vIndex: 9
35 virtual ::AABB const&
36 getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
37 /*override*/;
38
39 // vIndex: 87
40 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
41 /*override*/;
42
43 // vIndex: 46
44 virtual bool canBeOriginalSurface() const /*override*/;
45
46 // vIndex: 142
47 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
48
49 // vIndex: 139
50 virtual bool use(::Player& player, ::BlockPos const& pos, uchar face) const /*override*/;
51
52 // vIndex: 83
53 virtual bool tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const
54 /*override*/;
55
56 // vIndex: 23
57 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
58
59 // vIndex: 131
60 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
61
62 // vIndex: 0
63 virtual ~DirtPathBlock() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
70 // NOLINTEND
71
72public:
73 // static variables
74 // NOLINTBEGIN
75 MCAPI static ::AABB& BLOCK_AABB();
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI ::AABB
89 const;
90
91 MCAPI ::AABB const&
92 $getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
93
94 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
95
96 MCFOLD bool $canBeOriginalSurface() const;
97
98 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
99
100 MCFOLD bool $use(::Player& player, ::BlockPos const& pos, uchar face) const;
101
102 MCAPI bool $tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const;
103
104 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
105
106 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftable();
113 // NOLINTEND
114};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition DirtPathBlock.h:25
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemStack.h:25
Definition Player.h:119
Definition optional_ref.h:10