LeviLamina
Loading...
Searching...
No Matches
PotatoBlock.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/CropBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Block;
13class BlockPos;
16class ItemInstance;
17// clang-format on
18
19class PotatoBlock : public ::CropBlock {
20public:
21 // prevent constructor by default
22 PotatoBlock();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::ItemInstance const getBaseSeed() const /*override*/;
28
29 virtual int getVariant(::Block const& block) const /*override*/;
30
31 virtual ::AABB getCollisionShape(
32 ::Block const&,
34 ::BlockPos const&,
36 ) const /*override*/;
37
38 virtual ::AABB const&
39 getOutline(::Block const& block, ::IConstBlockSource const& pos, ::BlockPos const& bufferValue, ::AABB&) const
40 /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI PotatoBlock(::std::string const& nameId, int id);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::std::string const& nameId, int id);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::ItemInstance const $getBaseSeed() const;
59
60 MCFOLD int $getVariant(::Block const& block) const;
61
62 MCFOLD ::AABB $getCollisionShape(
63 ::Block const&,
65 ::BlockPos const&,
67 ) const;
68
69 MCFOLD ::AABB const&
70 $getOutline(::Block const& block, ::IConstBlockSource const& pos, ::BlockPos const& bufferValue, ::AABB&) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition AABB.h:18
Definition BlockPos.h:21
Definition Block.h:69
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:23
Definition ItemInstance.h:15
Definition optional_ref.h:10