LeviLamina
Loading...
Searching...
No Matches
AbstractCandleBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockLegacy.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Block;
12class BlockPos;
13class BlockSource;
14class Experiments;
15class Vec3;
17struct Brightness;
18namespace BlockEvents { class BlockQueuedTickEvent; }
19// clang-format on
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 20
26 virtual bool hasVariableLighting() const /*override*/;
27
28 // vIndex: 138
29 virtual bool isInteractiveBlock() const /*override*/;
30
31 // vIndex: 31
32 virtual bool isLavaBlocking() const /*override*/;
33
34 // vIndex: 87
35 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
36 /*override*/;
37
38 // vIndex: 123
39 virtual void animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const /*override*/;
40
41 // vIndex: 126
42 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
43
44 // vIndex: 149
45 virtual void entityInside(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity) const /*override*/;
46
47 // vIndex: 148
48 virtual void _onHitByActivatingAttack(::BlockSource& region, ::BlockPos const& pos, ::Actor*) const /*override*/;
49
50 // vIndex: 131
51 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
52
53 // vIndex: 150
54 virtual int _getNumCandles(::Block const&) const;
55
56 // vIndex: 151
57 virtual void _iterateCandles(::Block const&, ::BlockPos const&, ::std::function<void(::Vec3 const&, int)>) const;
58
59 // vIndex: 152
60 virtual void _tryLightOnFire(::BlockSource&, ::BlockPos const&, ::Actor*) const;
61
62 // vIndex: 0
63 virtual ~AbstractCandleBlock() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI void _addExtinguishEffects(::Block const& region, ::BlockSource& pos, ::BlockPos const&) const;
70
71 MCAPI void _checkForWaterlogging(::BlockSource& region, ::BlockPos const& pos) const;
72
73 MCAPI void
74 _extinguish(::Actor* extinguisher, ::Block const& block, ::BlockSource& region, ::BlockPos const& pos) const;
75
76 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCFOLD bool $hasVariableLighting() const;
89
90 MCFOLD bool $isInteractiveBlock() const;
91
92 MCFOLD bool $isLavaBlocking() const;
93
94 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
95
96 MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const;
97
98 MCAPI ::Brightness $getLightEmission(::Block const& block) const;
99
100 MCAPI void $entityInside(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity) const;
101
102 MCAPI void $_onHitByActivatingAttack(::BlockSource& region, ::BlockPos const& pos, ::Actor*) const;
103
104 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
105 // NOLINTEND
106};
Definition AbstractCandleBlock.h:21
Definition Actor.h:104
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14
Definition Vec3.h:10
Definition BlockAnimateTickData.h:5
Definition Brightness.h:8