LeviLamina
Loading...
Searching...
No Matches
LiquidBlockDynamic.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/LiquidBlockBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
12class BlockSource;
13class LiquidBlock;
14class Material;
15namespace BlockEvents { class BlockPlaceEvent; }
16namespace BlockEvents { class BlockQueuedTickEvent; }
17// clang-format on
18
19class LiquidBlockDynamic : public ::LiquidBlockBase {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::LiquidBlock const&> mLiquidBlock;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LiquidBlockDynamic& operator=(LiquidBlockDynamic const&);
29 LiquidBlockDynamic(LiquidBlockDynamic const&);
30 LiquidBlockDynamic();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void entityInside(::BlockSource& entity, ::BlockPos const&, ::Actor&) const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI LiquidBlockDynamic(
42 ::std::string const& nameId,
43 int id,
44 ::Material const& material,
45 ::LiquidBlock const& liquidBlock
46 );
47
48 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
49
50 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void*
57 $ctor(::std::string const& nameId, int id, ::Material const& material, ::LiquidBlock const& liquidBlock);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCFOLD void $entityInside(::BlockSource& entity, ::BlockPos const&, ::Actor&) const;
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition Actor.h:125
Definition BlockPlaceEvent.h:18
Definition BlockQueuedTickEvent.h:18
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition LiquidBlock.h:19
Definition Material.h:8