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;
18class Random;
19// clang-format on
20
21class MudBlock : public ::BlockLegacy {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 84
26 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
27
28 // vIndex: 137
29 virtual void randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
30
31 // vIndex: 46
32 virtual bool canBeOriginalSurface() const /*override*/;
33
34 // vIndex: 132
35 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 // vIndex: 5
38 virtual ::AABB
40 const /*override*/;
41
42 // vIndex: 6
43 virtual bool getCollisionShapeForCamera(
44 ::AABB& outAABB,
45 ::Block const& block,
46 ::IConstBlockSource const& region,
47 ::BlockPos const& pos
48 ) const /*override*/;
49
50 // vIndex: 0
51 virtual ~MudBlock() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCAPI static ::AABB& BLOCK_AABB();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
70
71 MCAPI void $randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
72
73 MCFOLD bool $canBeOriginalSurface() const;
74
75 MCFOLD void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
76
77 MCAPI ::AABB
79 const;
80
81 MCFOLD bool $getCollisionShapeForCamera(
82 ::AABB& outAABB,
83 ::Block const& block,
84 ::IConstBlockSource const& region,
85 ::BlockPos const& pos
86 ) const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
Definition AABB.h:16
Definition BaseGameVersion.h:13
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition MudBlock.h:21
Definition Random.h:16
Definition optional_ref.h:10