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 getCollisionShape(
31 ::Block const&,
33 ::BlockPos const&,
35 ) const /*override*/;
36
37 // vIndex: 80
38 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 // vIndex: 138
41 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
42
43 // vIndex: 86
44 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
45 /*override*/;
46
47 // vIndex: 88
48 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
49 /*override*/;
50
51 // vIndex: 56
52 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
53 /*override*/;
54
55 // vIndex: 111
56 virtual ::std::string buildDescriptionId(::Block const&) const /*override*/;
57
58 // vIndex: 22
59 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
60
61 // vIndex: 146
62 virtual void entityInside(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity) const /*override*/;
63
64 // vIndex: 130
65 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
66
67 // vIndex: 0
68 virtual ~FrogSpawnBlock() /*override*/ = default;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
75
76 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
77 // NOLINTEND
78
79public:
80 // static functions
81 // NOLINTBEGIN
82 MCAPI static void _sendDestroyEggEvents(::BlockSource& region, ::BlockPos const& pos, ::Actor& destroyer);
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCFOLD ::AABB $getCollisionShape(
89 ::Block const&,
91 ::BlockPos const&,
93 ) const;
94
95 MCAPI 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 MCNAPI static void** $vftable();
118 // NOLINTEND
119};
Definition AABB.h:18
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 FrogSpawnBlock.h:25
static MCAPI void ** $vftable()
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition Player.h:119
Definition optional_ref.h:10