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 ItemStack;
16class Player;
17// clang-format on
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 74
24 virtual bool
25 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
26 /*override*/;
27
28 // vIndex: 76
29 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
30 /*override*/;
31
32 // vIndex: 139
33 virtual bool use(::Player& player, ::BlockPos const& pos, uchar face) const /*override*/;
34
35 // vIndex: 83
36 virtual bool tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const
37 /*override*/;
38
39 // vIndex: 46
40 virtual bool canBeOriginalSurface() const /*override*/;
41
42 // vIndex: 0
43 virtual ~RootedDirtBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI bool
56 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
57
58 MCAPI bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
59
60 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar face) const;
61
62 MCAPI bool $tryToTill(::BlockSource& region, ::BlockPos const& pos, ::Actor& entity, ::ItemStack& item) const;
63
64 MCFOLD bool $canBeOriginalSurface() const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition Actor.h:104
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition ItemStack.h:25
Definition Player.h:119
Definition RootedDirtBlock.h:19