LeviLamina
Loading...
Searching...
No Matches
RootedDirtBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/FertilizerType.h"
7#include "mc/world/level/block/BlockLegacy.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15class Experiments;
16class ItemStack;
17namespace BlockEvents { class BlockPlayerInteractEvent; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 73
25 virtual bool
26 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
27 /*override*/;
28
29 // vIndex: 75
30 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
31 /*override*/;
32
33 // vIndex: 82
34 virtual bool tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const
35 /*override*/;
36
37 // vIndex: 45
38 virtual bool canBeOriginalSurface() const /*override*/;
39
40 // vIndex: 130
41 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
42
43 // vIndex: 0
44 virtual ~RootedDirtBlock() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI bool
57 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
58
59 MCAPI bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
60
61 MCAPI bool $tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const;
62
63 MCFOLD bool $canBeOriginalSurface() const;
64
65 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition Actor.h:103
Definition BlockPlayerInteractEvent.h:17
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition Experiments.h:14
Definition ItemStack.h:25
Definition RootedDirtBlock.h:20
static MCAPI void ** $vftable()