LeviLamina
Loading...
Searching...
No Matches
SoulSandBlock.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 BlockPlaceEvent; }
20namespace BlockEvents { class BlockQueuedTickEvent; }
21namespace BlockEvents { class BlockRandomTickEvent; }
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 86
29 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
30 /*override*/;
31
32 // vIndex: 83
33 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) 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 ~SoulSandBlock() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCFOLD void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
62
63 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
64
65 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::AABB& BLOCK_AABB();
72
73 MCAPI static ::BaseGameVersion const& SOUL_SAND_BREAKS_FALLING_BLOCK_VERSION();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
80
81 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
82
83 MCAPI ::AABB $getCollisionShape(
84 ::Block const&,
86 ::BlockPos const& pos,
88 ) const;
89
90 MCFOLD bool $getCollisionShapeForCamera(
91 ::AABB& outAABB,
92 ::Block const& block,
93 ::IConstBlockSource const& region,
94 ::BlockPos const& pos
95 ) const;
96
97 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition AABB.h:18
Definition BaseGameVersion.h:8
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
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 SoulSandBlock.h:24
static MCAPI void ** $vftable()
Definition optional_ref.h:10
Definition BlockRandomTickEvent.h:13