LeviLamina
Loading...
Searching...
No Matches
TallGrassBlock.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/item/FertilizerType.h"
8#include "mc/world/level/block/BushBlock.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockActor;
16class BlockPos;
17class BlockSource;
20class ItemInstance;
21class Vec3;
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 90
29 virtual ::ItemInstance asItemInstance(::Block const& block, ::BlockActor const*) const /*override*/;
30
31 // vIndex: 15
32 virtual ::Vec3 randomlyModifyPosition(::BlockPos const& pos) const /*override*/;
33
34 // vIndex: 5
35 virtual ::AABB
37 const /*override*/;
38
39 // vIndex: 9
40 virtual ::AABB const&
41 getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
42 /*override*/;
43
44 // vIndex: 142
45 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
46
47 // vIndex: 74
48 virtual bool
49 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
50 /*override*/;
51
52 // vIndex: 75
53 virtual bool mayConsumeFertilizer(::BlockSource& region) const /*override*/;
54
55 // vIndex: 76
56 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
57 /*override*/;
58
59 // vIndex: 79
60 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
61
62 // vIndex: 0
63 virtual ~TallGrassBlock() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCFOLD ::ItemInstance $asItemInstance(::Block const& block, ::BlockActor const*) const;
76
77 MCAPI ::Vec3 $randomlyModifyPosition(::BlockPos const& pos) const;
78
79 MCFOLD ::AABB
81 const;
82
83 MCFOLD ::AABB const&
84 $getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
85
86 MCFOLD bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
87
88 MCAPI bool
89 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
90
91 MCAPI bool $mayConsumeFertilizer(::BlockSource& region) const;
92
93 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
94
95 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCAPI static void** $vftable();
102 // NOLINTEND
103};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockActor.h:32
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition BushBlock.h:23
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition TallGrassBlock.h:24
Definition Vec3.h:10
Definition optional_ref.h:10