LeviLamina
Loading...
Searching...
No Matches
SnifferEggBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelEvent.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 Actor;
13class Block;
14class BlockPos;
15class BlockSource;
16class Experiments;
17namespace BlockEvents { class BlockPlaceEvent; }
18namespace BlockEvents { class BlockQueuedTickEvent; }
19// clang-format on
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 78
26 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
27
28 // vIndex: 22
29 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
30
31 // vIndex: 56
32 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
33 /*override*/;
34
35 // vIndex: 111
36 virtual ::std::string buildDescriptionId(::Block const&) const /*override*/;
37
38 // vIndex: 117
39 virtual int getVariant(::Block const& block) const /*override*/;
40
41 // vIndex: 130
42 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
43
44 // vIndex: 0
45 virtual ~SnifferEggBlock() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
52
53 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static void _addToRandomTickingQueue(::BlockSource& region, ::BlockPos const& pos);
60
61 MCAPI static void
62 _spawnParticles(::SharedTypes::Legacy::LevelEvent particleEvent, ::BlockSource& region, ::BlockPos const& pos);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
69
70 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
71
72 MCFOLD ::std::string $buildDescriptionId(::Block const&) const;
73
74 MCAPI int $getVariant(::Block const& block) const;
75
76 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition Actor.h:103
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition Experiments.h:14
Definition SnifferEggBlock.h:21
static MCAPI void ** $vftable()