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 Actor;
13class Block;
14class BlockPos;
15class BlockSource;
16class EntityContext;
17class Material;
18namespace BlockEvents { class BlockQueuedTickEvent; }
19// clang-format on
20
21class SculkShriekerBlock : public ::ActorBlock {
22public:
23 // prevent constructor by default
24 SculkShriekerBlock();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::BlockType& init() /*override*/;
30
31 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
32
33 virtual void onStandOn(::EntityContext& entity, ::BlockPos const& pos) const /*override*/;
34
35 virtual bool canProvideSupport(::Block const& face, uchar, ::BlockSupportType) const /*override*/;
36
37 virtual int getVariant(::Block const& block) const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI SculkShriekerBlock(::std::string const& nameId, int id, ::Material const& material);
44
45 MCAPI void _onStandOn(::BlockSource& region, ::Actor& actor, ::BlockPos const& pos) const;
46
47 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::std::string const& nameId, int id, ::Material const& material);
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI ::BlockType& $init();
60
61 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
62
63 MCAPI void $onStandOn(::EntityContext& entity, ::BlockPos const& pos) const;
64
65 MCFOLD bool $canProvideSupport(::Block const& face, uchar, ::BlockSupportType) const;
66
67 MCAPI int $getVariant(::Block const& block) const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Actor.h:125
Definition BlockQueuedTickEvent.h:18
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition EntityContext.h:17
Definition Material.h:8