LeviLamina
Loading...
Searching...
No Matches
FrogSpawnBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.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 AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
17class Experiments;
20class Player;
21namespace BlockEvents { class BlockPlaceEvent; }
22namespace BlockEvents { class BlockQueuedTickEvent; }
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 5
30 virtual ::AABB
32 const /*override*/;
33
34 // vIndex: 81
35 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 // vIndex: 142
38 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 // vIndex: 87
41 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
42 /*override*/;
43
44 // vIndex: 89
45 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
46 /*override*/;
47
48 // vIndex: 57
49 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
50 /*override*/;
51
52 // vIndex: 112
53 virtual ::std::string buildDescriptionId(::Block const&) const /*override*/;
54
55 // vIndex: 23
56 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
57
58 // vIndex: 149
59 virtual void entityInside(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity) const /*override*/;
60
61 // vIndex: 131
62 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
63
64 // vIndex: 0
65 virtual ~FrogSpawnBlock() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
72
73 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCAPI static void _sendDestroyEggEvents(::BlockSource& region, ::BlockPos const& pos, ::Actor& destroyer);
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCFOLD ::AABB
93 const;
94
95 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
96
97 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
98
99 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
100
101 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
102
103 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
104
105 MCFOLD ::std::string $buildDescriptionId(::Block const&) const;
106
107 MCFOLD bool $canProvideSupport(::Block const&, uchar, ::BlockSupportType) const;
108
109 MCAPI void $entityInside(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity) const;
110
111 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCAPI static void** $vftable();
118 // NOLINTEND
119};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockPlaceEvent.h:15
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 FrogSpawnBlock.h:25
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition Player.h:119
Definition optional_ref.h:10