LeviLamina
Loading...
Searching...
No Matches
PowderSnowBlock.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 BaseGameVersion;
14class Block;
15class BlockActor;
16class BlockPos;
17class Experiments;
20class ItemInstance;
21namespace BlockEvents { class BlockEntityFallOnEvent; }
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 131
29 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
30
31 // vIndex: 84
32 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
33
34 // vIndex: 5
35 virtual ::AABB getCollisionShape(
36 ::Block const& block,
38 ::BlockPos const& pos,
40 ) const /*override*/;
41
42 // vIndex: 111
43 virtual bool causesFreezeEffect() const /*override*/;
44
45 // vIndex: 90
46 virtual ::ItemInstance asItemInstance(::Block const&, ::BlockActor const*) const /*override*/;
47
48 // vIndex: 23
49 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
50
51 // vIndex: 31
52 virtual bool isLavaBlocking() const /*override*/;
53
54 // vIndex: 25
55 virtual bool canConnect(::Block const&, uchar, ::Block const&) const /*override*/;
56
57 // vIndex: 0
58 virtual ~PowderSnowBlock() /*override*/ = default;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCFOLD void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCAPI static bool canWalkOnTop(::GetCollisionShapeInterface const& actor);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
83
84 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
85
86 MCAPI ::AABB $getCollisionShape(
87 ::Block const& block,
89 ::BlockPos const& pos,
91 ) const;
92
93 MCFOLD bool $causesFreezeEffect() const;
94
95 MCAPI ::ItemInstance $asItemInstance(::Block const&, ::BlockActor const*) const;
96
97 MCFOLD bool $canProvideSupport(::Block const&, uchar, ::BlockSupportType) const;
98
99 MCFOLD bool $isLavaBlocking() const;
100
101 MCFOLD bool $canConnect(::Block const&, uchar, ::Block const&) const;
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCAPI static void** $vftable();
108 // NOLINTEND
109};
Definition AABB.h:16
Definition BaseGameVersion.h:13
Definition BlockActor.h:32
Definition BlockEntityFallOnEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:36
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition PowderSnowBlock.h:24
Definition optional_ref.h:10