LeviLamina
Loading...
Searching...
No Matches
SculkShriekerBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/ActorBlockBase.h"
7#include "mc/world/level/block/BlockSupportType.h"
8#include "mc/world/level/block/BlockType.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockPos;
14class BlockSource;
15class EntityContext;
16class Experiments;
17namespace BlockEvents { class BlockQueuedTickEvent; }
18// clang-format on
19
20class SculkShriekerBlock : public ::ActorBlock {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::BlockType& init() /*override*/;
25
26 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
27
28 virtual void onStandOn(::EntityContext& entity, ::BlockPos const& pos) const /*override*/;
29
30 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
31
32 virtual int getVariant(::Block const& block) const /*override*/;
33
34 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
35
36 virtual ~SculkShriekerBlock() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI ::BlockType& $init();
49
50 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
51
52 MCAPI void $onStandOn(::EntityContext& entity, ::BlockPos const& pos) const;
53
54 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
55
56 MCAPI int $getVariant(::Block const& block) const;
57
58 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockQueuedTickEvent.h:16
Definition BlockPos.h:19
Definition BlockSource.h:71
Definition Block.h:43
Definition EntityContext.h:16
Definition Experiments.h:14
Definition SculkShriekerBlock.h:20