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;
21namespace BlockEvents { class BlockPlayerInteractEvent; }
22namespace BlockEvents { class BlockQueuedTickEvent; }
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 5
30 virtual ::AABB getCollisionShape(
31 ::Block const&,
33 ::BlockPos const& pos,
35 ) const /*override*/;
36
37 // vIndex: 9
38 virtual ::AABB const&
39 getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
40 /*override*/;
41
42 // vIndex: 86
43 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
44 /*override*/;
45
46 // vIndex: 45
47 virtual bool canBeOriginalSurface() const /*override*/;
48
49 // vIndex: 138
50 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
51
52 // vIndex: 82
53 virtual bool tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const
54 /*override*/;
55
56 // vIndex: 22
57 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
58
59 // vIndex: 130
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
71 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
72 // NOLINTEND
73
74public:
75 // static variables
76 // NOLINTBEGIN
77 MCAPI static ::AABB& BLOCK_AABB();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::AABB $getCollisionShape(
84 ::Block const&,
86 ::BlockPos const& pos,
88 ) const;
89
90 MCAPI ::AABB const&
91 $getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
92
93 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
94
95 MCFOLD bool $canBeOriginalSurface() const;
96
97 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
98
99 MCAPI bool $tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const;
100
101 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
102
103 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
Definition AABB.h:18
Definition Actor.h:103
Definition BlockPlayerInteractEvent.h:17
Definition BlockQueuedTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition DirtPathBlock.h:25
static MCAPI void ** $vftable()
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemStack.h:25
Definition optional_ref.h:10