LeviLamina
Loading...
Searching...
No Matches
MudBlock.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 BaseGameVersion;
13class Block;
14class BlockPos;
15class BlockSource;
16class Experiments;
19namespace BlockEvents { class BlockRandomTickEvent; }
20// clang-format on
21
22class MudBlock : public ::BlockLegacy {
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 83
27 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
28
29 // vIndex: 45
30 virtual bool canBeOriginalSurface() const /*override*/;
31
32 // vIndex: 131
33 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
34
35 // vIndex: 5
36 virtual ::AABB getCollisionShape(
37 ::Block const&,
39 ::BlockPos const& pos,
41 ) const /*override*/;
42
43 // vIndex: 6
44 virtual bool getCollisionShapeForCamera(
45 ::AABB& outAABB,
46 ::Block const& block,
47 ::IConstBlockSource const& region,
48 ::BlockPos const& pos
49 ) const /*override*/;
50
51 // vIndex: 130
52 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
53
54 // vIndex: 0
55 virtual ~MudBlock() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::AABB& BLOCK_AABB();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
74
75 MCFOLD bool $canBeOriginalSurface() const;
76
77 MCFOLD void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
78
79 MCAPI ::AABB $getCollisionShape(
80 ::Block const&,
82 ::BlockPos const& pos,
84 ) const;
85
86 MCFOLD bool $getCollisionShapeForCamera(
87 ::AABB& outAABB,
88 ::Block const& block,
89 ::IConstBlockSource const& region,
90 ::BlockPos const& pos
91 ) const;
92
93 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition AABB.h:18
Definition BaseGameVersion.h:8
Definition BlockRandomTickEvent.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 IConstBlockSource.h:24
Definition MudBlock.h:22
static MCAPI void ** $vftable()
Definition optional_ref.h:10
Definition BlockRandomTickEvent.h:13